diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-10-28 09:32:15 -0700 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-10-28 09:32:15 -0700 |
commit | eeb14fd91c117acb8138ce4e29323da367d8e2ef (patch) | |
tree | 7918ad9e3763251e4803b0f76c93b9be275d2f86 | |
parent | e49fafbb8a63e946d3dbff359e284ca05a74589e (diff) | |
download | cryptography-eeb14fd91c117acb8138ce4e29323da367d8e2ef.tar.gz cryptography-eeb14fd91c117acb8138ce4e29323da367d8e2ef.tar.bz2 cryptography-eeb14fd91c117acb8138ce4e29323da367d8e2ef.zip |
fix
-rw-r--r-- | tests/hazmat/backends/test_openssl.py | 3 |
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()) |