aboutsummaryrefslogtreecommitdiff
path: root/unittest
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-07-23 18:28:24 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-08-01 13:54:57 +0200
commit7c4012b7074252d8a5cc3b462705e171112a85bf (patch)
treec1f87fd0bc9fd978c64c617f0485379da0fa7a0c /unittest
parent068c9559b240ee4f74f30a39521438cf2a1daa01 (diff)
downloadlibnitrokey-7c4012b7074252d8a5cc3b462705e171112a85bf.tar.gz
libnitrokey-7c4012b7074252d8a5cc3b462705e171112a85bf.tar.bz2
Marking todos
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'unittest')
-rw-r--r--unittest/test_bindings.py3
1 files changed, 2 insertions, 1 deletions
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: