aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-10-28 09:32:15 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2014-10-28 09:32:15 -0700
commiteeb14fd91c117acb8138ce4e29323da367d8e2ef (patch)
tree7918ad9e3763251e4803b0f76c93b9be275d2f86 /tests
parente49fafbb8a63e946d3dbff359e284ca05a74589e (diff)
downloadcryptography-eeb14fd91c117acb8138ce4e29323da367d8e2ef.tar.gz
cryptography-eeb14fd91c117acb8138ce4e29323da367d8e2ef.tar.bz2
cryptography-eeb14fd91c117acb8138ce4e29323da367d8e2ef.zip
fix
Diffstat (limited to 'tests')
-rw-r--r--tests/hazmat/backends/test_openssl.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/hazmat/backends/test_openssl.py b/tests/hazmat/backends/test_openssl.py
index ebd8686c..bc6a2bac 100644
--- a/tests/hazmat/backends/test_openssl.py
+++ b/tests/hazmat/backends/test_openssl.py
@@ -439,8 +439,7 @@ class TestOpenSSLCMAC(object):
def test_unsupported_cipher(self):
@utils.register_interface(BlockCipherAlgorithm)
class FakeAlgorithm(object):
- def __init__(self):
- self.block_size = 64
+ block_size = 64
with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_CIPHER):
backend.create_cmac_ctx(FakeAlgorithm())