From cc6274bf154754772819b9b53957f48d242f9783 Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Wed, 19 Oct 2016 11:14:59 +0200 Subject: Tests: xfail TOTP 64bit only for Storage Signed-off-by: Szczepan Zalega --- unittest/test_bindings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'unittest/test_bindings.py') diff --git a/unittest/test_bindings.py b/unittest/test_bindings.py index 7984848..80aa122 100644 --- a/unittest/test_bindings.py +++ b/unittest/test_bindings.py @@ -375,9 +375,9 @@ def test_HOTP_token(C): assert hotp_code != 0 assert C.NK_get_last_command_status() == DeviceErrorCode.STATUS_OK -# todo skip / xfail only for nk storage -@pytest.mark.xfail(reason="bug in NK Storage TOTP firmware") def test_TOTP_64bit_time(C): + if is_storage(C): + pytest.xfail('bug in NK Storage TOTP firmware') oath = pytest.importorskip("oath") T = 1 lib_at = lambda t: oath.totp(RFC_SECRET, t=t) -- cgit v1.2.1