diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2016-12-09 13:49:33 +0100 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2016-12-09 14:06:50 +0100 |
commit | e414840ab19ce022d5354fad13bcbcbe41925eea (patch) | |
tree | 13b5b819055881c9de5d115e50c6f3057107eb47 /unittest/test_pro.py | |
parent | 1d493a5daba996e31615154b28688de3637529c7 (diff) | |
download | libnitrokey-e414840ab19ce022d5354fad13bcbcbe41925eea.tar.gz libnitrokey-e414840ab19ce022d5354fad13bcbcbe41925eea.tar.bz2 |
Add a note regarding Password Safe tests
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'unittest/test_pro.py')
-rw-r--r-- | unittest/test_pro.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/unittest/test_pro.py b/unittest/test_pro.py index d2ed48b..2a4a1a7 100644 --- a/unittest/test_pro.py +++ b/unittest/test_pro.py @@ -7,6 +7,9 @@ from misc import is_pro_rtm_07, is_pro_rtm_08, is_storage def test_enable_password_safe(C): + """ + All Password Safe tests depend on AES keys being initialized. They will fail otherwise. + """ assert C.NK_lock_device() == DeviceErrorCode.STATUS_OK assert C.NK_enable_password_safe('wrong_password') == DeviceErrorCode.WRONG_PASSWORD assert C.NK_enable_password_safe(DefaultPasswords.USER) == DeviceErrorCode.STATUS_OK |