summaryrefslogtreecommitdiff
path: root/unittest/misc.py
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-11-09 19:20:51 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2016-12-03 16:01:49 +0100
commitb94d61b2f3c446c46ac2f660d954841d740782f5 (patch)
treec3713f74a99c9bad70124a1bbf7b1bf4660d2a4c /unittest/misc.py
parent90bf7f564c50bf48799056179dbc5a09b7782d27 (diff)
downloadlibnitrokey-b94d61b2f3c446c46ac2f660d954841d740782f5.tar.gz
libnitrokey-b94d61b2f3c446c46ac2f660d954841d740782f5.tar.bz2
Detect Pro 0.8
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'unittest/misc.py')
-rw-r--r--unittest/misc.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/unittest/misc.py b/unittest/misc.py
index b45436d..8296814 100644
--- a/unittest/misc.py
+++ b/unittest/misc.py
@@ -31,6 +31,10 @@ def is_pro_rtm_07(C):
firmware = get_firmware_version_from_status(C)
return '07 00' in firmware
+def is_pro_rtm_08(C):
+ firmware = get_firmware_version_from_status(C)
+ return '08 00' in firmware
+
def is_storage(C):
"""