pegleg/tests/unit/engine
Tin Lam aa241081c9 Fix exception handling and add tests
Per [0], fernet decrypt can never throw an InvalidSignature exception as that
is re-raised as InvalidToken. This patch set corrects the handling of the
exception, and added additional unit tests for coverage.

[0] https://cryptography.io/en/latest/fernet/#cryptography.fernet.Fernet.decrypt

Co-Authored-By: Drew Walters <drewwalters96@gmail.com>
Change-Id: Ic5ee7ef451a5657519c5397fc4b903b5adcb1d18
Signed-off-by: Tin Lam <tin@irrational.io>
2019-02-22 16:14:25 -06:00
..
util CLI: Add support for uploading documents to Shipyard 2018-11-27 19:29:42 +00:00
__init__.py Standardize Pegleg directory structure 2018-09-23 10:33:40 -04:00
test_generate_cryptostring.py Fix exception handling and add tests 2019-02-22 16:14:25 -06:00
test_lint.py Only collect/parse Deckhand-formatted documents for processing 2018-11-08 20:07:03 -05:00
test_secrets.py Add CLI passphrase generation 2019-02-04 12:32:39 -06:00
test_selectable_linting.py tests: Increase test coverage for lint checks 2019-01-01 19:17:11 +00:00
test_site_collect.py Standardize Pegleg directory structure 2018-09-23 10:33:40 -04:00
test_site_repository.py Add hacking extension 2019-01-01 00:18:03 -06:00
test_util_files.py CLI: Add support for uploading documents to Shipyard 2018-11-27 19:29:42 +00:00