From 7c49d18006fd15401f3f4651b6b441d4cac42d42 Mon Sep 17 00:00:00 2001 From: David Reid Date: Tue, 25 Feb 2014 11:05:46 -0800 Subject: Do some nitpicking cleanup of the twofactor code and documentation. --- tests/hazmat/primitives/twofactor/test_hotp.py | 1 - tests/hazmat/primitives/twofactor/test_totp.py | 1 - 2 files changed, 2 deletions(-) (limited to 'tests/hazmat/primitives') 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." -- cgit v1.2.3