aboutsummaryrefslogtreecommitdiff
path: root/unittest/constants.py
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2019-06-22 17:31:45 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2019-06-22 17:31:45 +0200
commit3ede630625cdc83cde2753897bee260595a5137a (patch)
tree578e349f9e5b44acabf106e3f8f8f2073a80ad02 /unittest/constants.py
parent3fc4193776b4ea29354838df024a72d7c8349ea9 (diff)
parent1fed3fd903da061a58d846f92161b60b711d8df5 (diff)
downloadlibnitrokey-3ede630625cdc83cde2753897bee260595a5137a.tar.gz
libnitrokey-3ede630625cdc83cde2753897bee260595a5137a.tar.bz2
Merge branch 'otp_tests'
Add OTP tests: - complete writing and reading codes - test edge slots of TOTP and HOTP
Diffstat (limited to 'unittest/constants.py')
-rw-r--r--unittest/constants.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/unittest/constants.py b/unittest/constants.py
index 714c8c6..645ef6a 100644
--- a/unittest/constants.py
+++ b/unittest/constants.py
@@ -57,3 +57,6 @@ class LibraryErrors:
INVALID_HEX_STRING = 202
TARGET_BUFFER_SIZE_SMALLER_THAN_SOURCE = 203
+
+HOTP_slot_count = 3
+TOTP_slot_count = 15 \ No newline at end of file