From 7c4012b7074252d8a5cc3b462705e171112a85bf Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Sat, 23 Jul 2016 18:28:24 +0200 Subject: Marking todos Signed-off-by: Szczepan Zalega --- unittest/test_bindings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/unittest/test_bindings.py b/unittest/test_bindings.py index 32baf69..5da2bc0 100644 --- a/unittest/test_bindings.py +++ b/unittest/test_bindings.py @@ -3,7 +3,6 @@ import cffi ffi = cffi.FFI() - @pytest.fixture(scope="module") def C(request): fp = '../NK_C_API.h' @@ -57,6 +56,7 @@ def test_TOTP_RFC(C): def test_get_slot_names(C): + # TODO add setup to have at least one slot not programmed for i in range(16): name = ffi.string(C.NK_get_totp_slot_name(i)) if name == '': @@ -68,6 +68,7 @@ def test_get_slot_names(C): def test_get_OTP_codes(C): + # TODO add setup to have at least one slot not programmed for i in range(16): code = C.NK_get_totp_code(i, 0, 0, 0) if code == 0: -- cgit v1.2.1