summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-10-19 16:00:30 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-10-19 16:55:06 +0200
commit182e2d9b7b01ef0d681b9fb97d8bdc263507152c (patch)
tree96971167490fc3191ed0b7d4b8b17ad023b4f276
parent23160c4bb5b9f9aca7aaffce234d5aeaa3fcf534 (diff)
downloadlibnitrokey-182e2d9b7b01ef0d681b9fb97d8bdc263507152c.tar.gz
libnitrokey-182e2d9b7b01ef0d681b9fb97d8bdc263507152c.tar.bz2
Tests: do not check 64bit TOTP time in general TOTP test
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
-rw-r--r--unittest/test_bindings.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/unittest/test_bindings.py b/unittest/test_bindings.py
index 33bdbf0..5549606 100644
--- a/unittest/test_bindings.py
+++ b/unittest/test_bindings.py
@@ -448,8 +448,7 @@ def test_TOTP_64bit_time(C):
assert dev_res == lib_res
-# todo skip / xfail only for nk pro
-@pytest.mark.xfail(reason="possible firmware bug or communication issue: set time command not always changes the time on stick thus failing this test, "
+@pytest.mark.xfail(reason="NK Pro: possible firmware bug or communication issue: set time command not always changes the time on stick thus failing this test, "
"this does not influence normal use since setting time is not done every TOTP code request")
@pytest.mark.parametrize("PIN_protection", [False, True, ])
def test_TOTP_RFC_usepin(C, PIN_protection):
@@ -476,7 +475,7 @@ def test_TOTP_RFC_usepin(C, PIN_protection):
(1111111111, 0x00000000023523ED, 14050471),
(1234567890, 0x000000000273EF07, 89005924),
(2000000000, 0x0000000003F940AA, 69279037),
- (20000000000, 0x0000000027BC86AA, 65353130), # 64bit is also checked in other test
+ # (20000000000, 0x0000000027BC86AA, 65353130), # 64bit is also checked in other test
]
responses = []
data = []