diff options
author | Mohammed Attia <skeuomorf@gmail.com> | 2014-04-02 04:03:09 +0200 |
---|---|---|
committer | Mohammed Attia <skeuomorf@gmail.com> | 2014-04-04 20:19:32 +0200 |
commit | 29474ac7dab3f5c8b664463ed28ec83b7b77250b (patch) | |
tree | 4a58420d14561994eeeb38c7b95403765d74f30b /tests/hazmat | |
parent | 97c27c698dc5325aff3887cf13e0e58bcfd1acfe (diff) | |
download | cryptography-29474ac7dab3f5c8b664463ed28ec83b7b77250b.tar.gz cryptography-29474ac7dab3f5c8b664463ed28ec83b7b77250b.tar.bz2 cryptography-29474ac7dab3f5c8b664463ed28ec83b7b77250b.zip |
Add docs for DSA parameters and key generation
Diffstat (limited to 'tests/hazmat')
-rw-r--r-- | tests/hazmat/backends/test_multibackend.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/hazmat/backends/test_multibackend.py b/tests/hazmat/backends/test_multibackend.py index 4ec8a110..f46009d4 100644 --- a/tests/hazmat/backends/test_multibackend.py +++ b/tests/hazmat/backends/test_multibackend.py @@ -18,8 +18,8 @@ from cryptography.exceptions import ( UnsupportedAlgorithm, _Reasons ) from cryptography.hazmat.backends.interfaces import ( - CipherBackend, HMACBackend, HashBackend, PBKDF2HMACBackend, RSABackend, - DSABackend + CipherBackend, DSABackend, HMACBackend, HashBackend, PBKDF2HMACBackend, + RSABackend ) from cryptography.hazmat.backends.multibackend import MultiBackend from cryptography.hazmat.primitives import hashes, hmac @@ -28,8 +28,6 @@ from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes from ...utils import raises_unsupported_algorithm -from pretend import stub - @utils.register_interface(CipherBackend) class DummyCipherBackend(object): @@ -213,7 +211,7 @@ class TestMultiBackend(object): backend.generate_dsa_parameters(key_size=1024) - parameters = stub() + parameters = object() backend.generate_dsa_private_key(parameters) backend = MultiBackend([]) |