diff options
author | David Reid <dreid@dreid.org> | 2014-02-25 11:05:46 -0800 |
---|---|---|
committer | David Reid <dreid@dreid.org> | 2014-02-25 11:05:46 -0800 |
commit | 7c49d18006fd15401f3f4651b6b441d4cac42d42 (patch) | |
tree | 78fa18b71133d3a42d66ae8fd81575cd02710420 /tests/hazmat/primitives/twofactor | |
parent | eaf4595794516c7c3a4284dce1c9acc8faa122fa (diff) | |
download | cryptography-7c49d18006fd15401f3f4651b6b441d4cac42d42.tar.gz cryptography-7c49d18006fd15401f3f4651b6b441d4cac42d42.tar.bz2 cryptography-7c49d18006fd15401f3f4651b6b441d4cac42d42.zip |
Do some nitpicking cleanup of the twofactor code and documentation.
Diffstat (limited to 'tests/hazmat/primitives/twofactor')
-rw-r--r-- | tests/hazmat/primitives/twofactor/test_hotp.py | 1 | ||||
-rw-r--r-- | tests/hazmat/primitives/twofactor/test_totp.py | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/tests/hazmat/primitives/twofactor/test_hotp.py b/tests/hazmat/primitives/twofactor/test_hotp.py index 8f687ebb..7c584271 100644 --- a/tests/hazmat/primitives/twofactor/test_hotp.py +++ b/tests/hazmat/primitives/twofactor/test_hotp.py @@ -31,7 +31,6 @@ vectors = load_vectors_from_file( ) @pytest.mark.hmac class TestHOTP(object): - def test_invalid_key_length(self, backend): secret = os.urandom(10) diff --git a/tests/hazmat/primitives/twofactor/test_totp.py b/tests/hazmat/primitives/twofactor/test_totp.py index 8877a70a..a4a108bc 100644 --- a/tests/hazmat/primitives/twofactor/test_totp.py +++ b/tests/hazmat/primitives/twofactor/test_totp.py @@ -24,7 +24,6 @@ vectors = load_vectors_from_file( @pytest.mark.hmac class TestTOTP(object): - @pytest.mark.supported( only_if=lambda backend: backend.hmac_supported(hashes.SHA1()), skip_message="Does not support HMAC-SHA1." |