summaryrefslogtreecommitdiff
path: root/unittest/test_pro.py
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2017-07-03 19:38:07 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2017-07-03 19:38:07 +0200
commitb929268d67efeea7f68b7ff226db3ae83863eeb0 (patch)
tree9f113b20ee60729e6c89625f51177e37ed121d12 /unittest/test_pro.py
parent6af29597ccc59c91e48a5f81a9ed474392cab8e8 (diff)
downloadlibnitrokey-b929268d67efeea7f68b7ff226db3ae83863eeb0.tar.gz
libnitrokey-b929268d67efeea7f68b7ff226db3ae83863eeb0.tar.bz2
Skip factory reset tests for now
Not working due to CRC error bug Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'unittest/test_pro.py')
-rw-r--r--unittest/test_pro.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/unittest/test_pro.py b/unittest/test_pro.py
index e94dc48..11873fe 100644
--- a/unittest/test_pro.py
+++ b/unittest/test_pro.py
@@ -147,6 +147,7 @@ def test_regenerate_aes_key(C):
assert C.NK_enable_password_safe(DefaultPasswords.USER) == DeviceErrorCode.STATUS_OK
+@pytest.mark.skip
def test_enable_password_safe_after_factory_reset(C):
assert C.NK_lock_device() == DeviceErrorCode.STATUS_OK
if is_storage(C):
@@ -548,6 +549,7 @@ def test_read_write_config(C):
assert config == (255, 255, 255, False, True)
+@pytest.mark.skip
def test_factory_reset(C):
C.NK_set_debug(True)
assert C.NK_first_authenticate(DefaultPasswords.ADMIN, DefaultPasswords.ADMIN_TEMP) == DeviceErrorCode.STATUS_OK