aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2019-05-31 21:53:18 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2019-06-13 15:00:50 +0200
commit00f168b909d5c7c61512d39ed170a0b799bc24c8 (patch)
treebca74142f12cc660f325a91334c738adfe91ced6
parenta0aae1fe26a6c68d6040c2dcf0194279e9c7007c (diff)
downloadlibnitrokey-00f168b909d5c7c61512d39ed170a0b799bc24c8.tar.gz
libnitrokey-00f168b909d5c7c61512d39ed170a0b799bc24c8.tar.bz2
Comments: fixme
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
-rw-r--r--unittest/test_pro.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/unittest/test_pro.py b/unittest/test_pro.py
index 2d50c8e..83c6da3 100644
--- a/unittest/test_pro.py
+++ b/unittest/test_pro.py
@@ -947,10 +947,12 @@ def test_bootloader_password_change_pro(C):
assert C.NK_change_firmware_password_pro(DefaultPasswords.UPDATE, DefaultPasswords.UPDATE_TEMP) == DeviceErrorCode.STATUS_OK
assert C.NK_change_firmware_password_pro(DefaultPasswords.UPDATE_TEMP, DefaultPasswords.UPDATE) == DeviceErrorCode.STATUS_OK
-
+ # FIXME add tests for maximum password length
+
@pytest.mark.firmware
def test_bootloader_run_pro(C):
assert C.NK_enable_firmware_update_pro(DefaultPasswords.UPDATE_TEMP) == DeviceErrorCode.WRONG_PASSWORD
# Not enabled due to lack of side-effect removal at this point
# assert C.NK_enable_firmware_update_pro(DefaultPasswords.UPDATE) == DeviceErrorCode.STATUS_OK
+ # FIXME add tests for maximum password length \ No newline at end of file