diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2013-09-10 15:41:37 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2013-09-10 19:47:50 -0500 |
commit | 5266752c9e462ac988af3d222470a68b2950d2d6 (patch) | |
tree | dcab249ff8474e1d4ac599f38dd905525817d808 /tests | |
parent | dc689293704e9181af452aaef495e4c417160e40 (diff) | |
download | cryptography-5266752c9e462ac988af3d222470a68b2950d2d6.tar.gz cryptography-5266752c9e462ac988af3d222470a68b2950d2d6.tar.bz2 cryptography-5266752c9e462ac988af3d222470a68b2950d2d6.zip |
modify modes to use abc so api can determine what attribute to call
* Due to a circular dependency issue I had to put the abcs in
cryptography.primitives.abc.block.modes
* The ABCs look like they do because that is the form that is compatible
with 2.x and 3.x
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bindings/test_openssl.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/bindings/test_openssl.py b/tests/bindings/test_openssl.py index f25236cc..b23c4ccc 100644 --- a/tests/bindings/test_openssl.py +++ b/tests/bindings/test_openssl.py @@ -11,7 +11,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from cryptography.bindings.openssl import api +from cryptography.bindings.openssl.api import api class TestOpenSSL(object): @@ -28,6 +28,3 @@ class TestOpenSSL(object): for every OpenSSL. """ assert api.openssl_version_text().startswith("OpenSSL") - - def test_get_iv_for_ecb(self): - assert api.get_iv_for_ecb() == api._ffi.NULL |