aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-10-17 18:53:12 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-10-17 18:53:12 -0700
commit3bdc6b61f64b8049284834681a2b1a43d057999f (patch)
treec9b681d832f1537c70da93542b204fa4f5ac9a34 /tests
parent7c1610af3e782380e74544637596d5bd2677321c (diff)
downloadcryptography-3bdc6b61f64b8049284834681a2b1a43d057999f.tar.gz
cryptography-3bdc6b61f64b8049284834681a2b1a43d057999f.tar.bz2
cryptography-3bdc6b61f64b8049284834681a2b1a43d057999f.zip
Removed name fro BlockCipher -- it's arbitrarily based on the format openssl uses for *some* ciphers
Diffstat (limited to 'tests')
-rw-r--r--tests/primitives/test_block.py11
1 files changed, 1 insertions, 10 deletions
diff --git a/tests/primitives/test_block.py b/tests/primitives/test_block.py
index 774885fa..f4d3f467 100644
--- a/tests/primitives/test_block.py
+++ b/tests/primitives/test_block.py
@@ -23,20 +23,11 @@ from cryptography.primitives.block.base import _Operation
class TestBlockCipher(object):
- def test_cipher_name(self, api):
- cipher = BlockCipher(
- ciphers.AES(binascii.unhexlify(b"0" * 32)),
- modes.CBC(binascii.unhexlify(b"0" * 32)),
- api
- )
- assert cipher.name == "AES-128-CBC"
-
def test_instantiate_without_api(self):
- cipher = BlockCipher(
+ BlockCipher(
ciphers.AES(binascii.unhexlify(b"0" * 32)),
modes.CBC(binascii.unhexlify(b"0" * 32))
)
- assert cipher.name == "AES-128-CBC"
def test_use_after_finalize(self, api):
cipher = BlockCipher(