diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2016-08-09 11:49:20 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2016-08-09 18:34:00 +0200 |
commit | 07ff4e8e935ba36b93b228e7ec268340e71ada77 (patch) | |
tree | 891722df2a81ca23581f0db72e0eada96d84c141 /unittest | |
parent | 08e63f308f5322040794be1e768f0dd400d43a06 (diff) | |
download | libnitrokey-07ff4e8e935ba36b93b228e7ec268340e71ada77.tar.gz libnitrokey-07ff4e8e935ba36b93b228e7ec268340e71ada77.tar.bz2 |
Test Status command
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'unittest')
-rw-r--r-- | unittest/test_bindings.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/unittest/test_bindings.py b/unittest/test_bindings.py index 0b071d5..7816f41 100644 --- a/unittest/test_bindings.py +++ b/unittest/test_bindings.py @@ -449,3 +449,9 @@ def test_clear(C): print(d) C.clear_password(d) print(d) + + +def test_get_status(C): + status = C.NK_status() + s = gs(status) + assert len(s) > 0 |