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
diff --git a/tests/bindings/test_openssl.py b/tests/bindings/test_openssl.py
index f25236c..b23c4cc 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 @@
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