diff options
| -rw-r--r-- | unittest/test_library.py | 5 | ||||
| -rw-r--r-- | unittest/test_pro.py | 7 | 
2 files changed, 3 insertions, 9 deletions
| diff --git a/unittest/test_library.py b/unittest/test_library.py index ec00a5a..b24c72a 100644 --- a/unittest/test_library.py +++ b/unittest/test_library.py @@ -58,11 +58,6 @@ def test_warning_binary_bigger_than_secret_buffer(C):                                  DefaultPasswords.ADMIN_TEMP) == LibraryErrors.TARGET_BUFFER_SIZE_SMALLER_THAN_SOURCE -@pytest.mark.xfail(reason="TODO") -def test_OTP_secret_started_from_null(C): -    assert False - -  @pytest.mark.skip(reason='Experimental')  def test_clear(C):      d = 'asdasdasd' 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") | 
