summaryrefslogtreecommitdiff
path: root/unittest
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-07-28 12:25:36 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-08-01 13:54:58 +0200
commit9550d13642b6ef374d3807357b2f7a26bd0cad59 (patch)
treedfc33a2bd5b951b72ba630e1398fa85e295ce503 /unittest
parent08fa8c559b42fb07bdadd62369802c348b896607 (diff)
downloadlibnitrokey-9550d13642b6ef374d3807357b2f7a26bd0cad59.tar.gz
libnitrokey-9550d13642b6ef374d3807357b2f7a26bd0cad59.tar.bz2
Do not authenticate on login with admin credentials
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'unittest')
-rw-r--r--unittest/test_bindings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittest/test_bindings.py b/unittest/test_bindings.py
index 8d6169c..5fb7e83 100644
--- a/unittest/test_bindings.py
+++ b/unittest/test_bindings.py
@@ -39,7 +39,7 @@ def C(request):
C = ffi.dlopen("../build/libnitrokey.so")
C.NK_set_debug(False)
- C.NK_login(DefaultPasswords.ADMIN, DefaultPasswords.ADMIN_TEMP, 'P')
+ C.NK_login('P')
assert C.NK_user_authenticate(DefaultPasswords.USER, DefaultPasswords.USER_TEMP) == DeviceErrorCode.STATUS_OK
# C.NK_status()