summaryrefslogtreecommitdiff
path: root/unittest/constants.py
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-11-03 13:51:59 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2016-11-26 18:56:29 +0100
commitfe36daa38ab1995c8c7fc6470d06b8595efd2385 (patch)
tree1dd4b5bf18537ed16ac31df331b0983fd9d08a65 /unittest/constants.py
parent130a33311567a1f0f6a9a2d8707bff20a558eb20 (diff)
downloadlibnitrokey-fe36daa38ab1995c8c7fc6470d06b8595efd2385.tar.gz
libnitrokey-fe36daa38ab1995c8c7fc6470d06b8595efd2385.tar.bz2
Tests: remake fill SD card test. Get progress bar value when busy.
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'unittest/constants.py')
-rw-r--r--unittest/constants.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/unittest/constants.py b/unittest/constants.py
index 258619e..78a219b 100644
--- a/unittest/constants.py
+++ b/unittest/constants.py
@@ -18,6 +18,7 @@ class DefaultPasswords(Enum):
class DeviceErrorCode(Enum):
STATUS_OK = 0
+ BUSY = 1 # busy or busy progressbar in place of wrong_CRC status
NOT_PROGRAMMED = 3
WRONG_PASSWORD = 4
STATUS_NOT_AUTHORIZED = 5