add get_iv_or_nonce() methods to replace _get_iv() on api
diff --git a/tests/bindings/test_openssl.py b/tests/bindings/test_openssl.py
index e4b7346..c5927b7 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 @@
         """
         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