aboutsummaryrefslogtreecommitdiff
path: root/unittest
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-07-26 21:17:34 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-08-01 13:54:57 +0200
commit7d71398f4043c10c3870cb9deb2eae7bf1c5f0ee (patch)
treed279064b370c5ec757dccb218b55d8fa65d2c93b /unittest
parentba29c8cebf36d8e7b7b18a74df752b1b220ce473 (diff)
downloadlibnitrokey-7d71398f4043c10c3870cb9deb2eae7bf1c5f0ee.tar.gz
libnitrokey-7d71398f4043c10c3870cb9deb2eae7bf1c5f0ee.tar.bz2
Assertions on password safe slot number
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'unittest')
-rw-r--r--unittest/test_bindings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittest/test_bindings.py b/unittest/test_bindings.py
index c7e64b9..4d749bd 100644
--- a/unittest/test_bindings.py
+++ b/unittest/test_bindings.py
@@ -90,7 +90,7 @@ def test_erase_password_safe_slot(C):
assert C.NK_enable_password_safe(DefaultPasswords.USER) == DeviceErrorCode.STATUS_OK
assert C.NK_erase_password_safe_slot(0) == DeviceErrorCode.STATUS_OK
assert gs(C.NK_get_password_safe_slot_name(0, DefaultPasswords.ADMIN_TEMP)) == ''
- assert C.NK_get_last_command_status() == DeviceErrorCode.STATUS_OK # TODO should be DeviceErrorCode.NOT_PROGRAMMED ?
+ assert C.NK_get_last_command_status() == DeviceErrorCode.STATUS_OK # TODO shouldn't be DeviceErrorCode.NOT_PROGRAMMED ?
def test_password_safe_slot_status(C):