From c9f0d96ffb0c86013cfb5920fd8184ea40baf1ef Mon Sep 17 00:00:00 2001 From: Eli Collins Date: Mon, 7 Nov 2016 21:38:37 -0500 Subject: totp: no functional code changes, just combined the BaseOTP and TOTP classes, since there's no need for the subdivision. --- passlib/tests/test_totp.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'passlib/tests/test_totp.py') 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 -- cgit v1.2.1