diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-11-27 08:53:50 -0600 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-11-27 08:53:50 -0600 |
commit | b7c3845a5169c9db3450236f08f8c6fd140b9ef1 (patch) | |
tree | 69468ac0d1dae34de5628225856da4347371275b /tests | |
parent | e60e1d782cb7c1abe68811092f7db342ed14b81f (diff) | |
download | cryptography-b7c3845a5169c9db3450236f08f8c6fd140b9ef1.tar.gz cryptography-b7c3845a5169c9db3450236f08f8c6fd140b9ef1.tar.bz2 cryptography-b7c3845a5169c9db3450236f08f8c6fd140b9ef1.zip |
Fixed this test. It was passing for the wrong reason.
Shame on us for letting something without coverage land.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/hazmat/primitives/test_block.py | 4 |
1 files changed, 2 insertions, 2 deletions
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): |