summaryrefslogtreecommitdiff
path: root/passlib/tests/test_totp.py
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2016-11-07 21:38:37 -0500
committerEli Collins <elic@assurancetechnologies.com>2016-11-07 21:38:37 -0500
commitc9f0d96ffb0c86013cfb5920fd8184ea40baf1ef (patch)
tree09338eb0646c0028266dbb9abaed953fa697464c /passlib/tests/test_totp.py
parentd5566625e9ef818665c5a7f73ce7c5872e2b2879 (diff)
downloadpasslib-c9f0d96ffb0c86013cfb5920fd8184ea40baf1ef.tar.gz
totp: no functional code changes, just combined the BaseOTP and TOTP classes,
since there's no need for the subdivision.
Diffstat (limited to 'passlib/tests/test_totp.py')
-rw-r--r--passlib/tests/test_totp.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/passlib/tests/test_totp.py b/passlib/tests/test_totp.py
index c2629fd..b31356e 100644
--- a/passlib/tests/test_totp.py
+++ b/passlib/tests/test_totp.py
@@ -397,6 +397,9 @@ RFC_KEY_BYTES_20 = "12345678901234567890".encode("ascii")
RFC_KEY_BYTES_32 = (RFC_KEY_BYTES_20*2)[:32]
RFC_KEY_BYTES_64 = (RFC_KEY_BYTES_20*4)[:64]
+# TODO: this class is separate from TotpTest due to historical issue,
+# when there was a base class, and a separate HOTP class.
+# these test case classes should probably be combined.
class _BaseOTPTest(TestCase):
"""
common code shared by TotpTest & HotpTest