From b7c3845a5169c9db3450236f08f8c6fd140b9ef1 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Wed, 27 Nov 2013 08:53:50 -0600 Subject: Fixed this test. It was passing for the wrong reason. Shame on us for letting something without coverage land. --- tests/hazmat/primitives/test_block.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/hazmat/primitives') diff --git a/tests/hazmat/primitives/test_block.py b/tests/hazmat/primitives/test_block.py index 4a8e88b4..f6c44b47 100644 --- a/tests/hazmat/primitives/test_block.py +++ b/tests/hazmat/primitives/test_block.py @@ -47,10 +47,10 @@ class TestCipher(object): ) assert isinstance(cipher.decryptor(), interfaces.CipherContext) - def test_instantiate_with_non_algorithm(self): + def test_instantiate_with_non_algorithm(self, backend): algorithm = object() with pytest.raises(TypeError): - Cipher(algorithm, mode=None) + Cipher(algorithm, mode=None, backend=backend) class TestCipherContext(object): -- cgit v1.2.3