diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2016-07-28 12:24:45 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2016-08-01 13:54:57 +0200 |
commit | 08fa8c559b42fb07bdadd62369802c348b896607 (patch) | |
tree | 7a94fe1810d7468ccc5b4d82ecbc549dd0b6c933 /unittest | |
parent | bdb25a0c1feb5709d718f408d6c839dbc9b55738 (diff) | |
download | libnitrokey-08fa8c559b42fb07bdadd62369802c348b896607.tar.gz libnitrokey-08fa8c559b42fb07bdadd62369802c348b896607.tar.bz2 |
Choose device model during connection
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'unittest')
-rw-r--r-- | unittest/test_bindings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittest/test_bindings.py b/unittest/test_bindings.py index cba5ba4..8d6169c 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) + C.NK_login(DefaultPasswords.ADMIN, DefaultPasswords.ADMIN_TEMP, 'P') assert C.NK_user_authenticate(DefaultPasswords.USER, DefaultPasswords.USER_TEMP) == DeviceErrorCode.STATUS_OK # C.NK_status() |