From 39b7c99bbd00c0bc4906939ceefb724a3d9ddc35 Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Tue, 26 Jul 2016 11:36:04 +0200 Subject: Handle locking device Signed-off-by: Szczepan Zalega --- unittest/test_bindings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unittest') diff --git a/unittest/test_bindings.py b/unittest/test_bindings.py index 51e1233..ec7608e 100644 --- a/unittest/test_bindings.py +++ b/unittest/test_bindings.py @@ -50,7 +50,7 @@ def C(request): def test_enable_password_safe(C): - # lock device + assert C.NK_lock_device() == DeviceErrorCode.STATUS_OK assert C.NK_enable_password_safe('wrong_password') == DeviceErrorCode.WRONG_PASSWORD assert C.NK_enable_password_safe(DefaultPasswords.USER) == DeviceErrorCode.STATUS_OK -- cgit v1.2.1