summaryrefslogtreecommitdiff
path: root/unittest
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-10-15 11:36:08 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-10-19 16:35:22 +0200
commit0435623f8198b9a8ea6c8e64ffd5b081d4639ba8 (patch)
tree32b11bb50b47db19b764c9839a3c52c967e1454c /unittest
parent8b59b30be4c021c912d2c16a5055168a83e36469 (diff)
downloadlibnitrokey-0435623f8198b9a8ea6c8e64ffd5b081d4639ba8.tar.gz
libnitrokey-0435623f8198b9a8ea6c8e64ffd5b081d4639ba8.tar.bz2
Skip factory reset until full recovery will be implemented for NK Storage, namely STICK20_CMD_CLEAR_NEW_SD_CARD_FOUND command
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'unittest')
-rw-r--r--unittest/test_bindings.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/unittest/test_bindings.py b/unittest/test_bindings.py
index f2055fe..3bb8ca8 100644
--- a/unittest/test_bindings.py
+++ b/unittest/test_bindings.py
@@ -493,6 +493,7 @@ def wait(t):
time.sleep(t)
+@pytest.mark.skip(reason='Recover not implemented for NK Storage')
def test_factory_reset(C):
C.NK_set_debug(True)
assert C.NK_first_authenticate(DefaultPasswords.ADMIN, DefaultPasswords.ADMIN_TEMP) == DeviceErrorCode.STATUS_OK