Fix typo and update tests to catch other typos

This commit is contained in:
Wayne Witzel III
2017-06-12 14:14:07 -04:00
parent d1008e4ccd
commit af7762e417
3 changed files with 21 additions and 1 deletions

View File

@@ -23,3 +23,8 @@ def test_settings():
assert setting.value.startswith('$encrypted$AESCBC$')
assert new_decrypt_field(setting, 'value') == 'test'
# This is here for a side-effect.
# Exception if the encryption type of AESCBC is not properly skipped, ensures
# our `startswith` calls don't have typos
replace_aesecb_fernet(apps, None)