aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bindings/test_openssl.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bindings/test_openssl.py')
-rw-r--r--tests/bindings/test_openssl.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/bindings/test_openssl.py b/tests/bindings/test_openssl.py
index e4b73460..c5927b76 100644
--- a/tests/bindings/test_openssl.py
+++ b/tests/bindings/test_openssl.py
@@ -11,8 +11,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-import pytest
-
from cryptography.bindings.openssl import api
@@ -31,6 +29,5 @@ class TestOpenSSL(object):
"""
assert api.openssl_version_text().startswith("OpenSSL")
- def test_get_iv_invalid_mode(self):
- with pytest.raises(NotImplementedError):
- api._get_iv(None)
+ def test_get_null_for_ecb(self):
+ assert api.get_null_for_ecb() == api._ffi.NULL