summaryrefslogtreecommitdiff
path: root/unittest/test_pro.py
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-12-09 12:44:33 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2016-12-09 14:06:50 +0100
commit87eaf78c7c7290764ccaebe67726b77a44f21240 (patch)
tree11b448854abc99e09e87bd2d7c47225f4b0eda90 /unittest/test_pro.py
parente513f430851ad9645aff53df32813a5343c697c1 (diff)
downloadlibnitrokey-87eaf78c7c7290764ccaebe67726b77a44f21240.tar.gz
libnitrokey-87eaf78c7c7290764ccaebe67726b77a44f21240.tar.bz2
Remove old skipping code. Feature comment.
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'unittest/test_pro.py')
-rw-r--r--unittest/test_pro.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/unittest/test_pro.py b/unittest/test_pro.py
index 3282436..ab30e04 100644
--- a/unittest/test_pro.py
+++ b/unittest/test_pro.py
@@ -635,13 +635,12 @@ def test_TOTP_secrets(C, secret):
@pytest.mark.parametrize("secret", [RFC_SECRET, 2*RFC_SECRET, '12'*10, '12'*30] )
def test_HOTP_secrets(C, secret):
- '''
+ """
NK Pro 0.8+, NK Storage 0.44+
- '''
+ feature needed: support for 320bit secrets
+ """
skip_if_device_version_lower_than({'S': 44, 'P': 8})
- if is_pro_rtm_07(C) and len(secret)>20*2: #*2 since secret is in hex
- pytest.skip("Secret lengths over 20 bytes are not supported by NK Pro 0.7 ")
slot_number = 0
counter = 0
oath = pytest.importorskip("oath")