fix errors with latest flake8 (#710)
* fix errors with latest flake8
* Also fix the macOS builds
* fix?
* allow urllib3 to fail for now
diff --git a/tests/test_crypto.py b/tests/test_crypto.py
index 22a5c88..5642120 100644
--- a/tests/test_crypto.py
+++ b/tests/test_crypto.py
@@ -1846,11 +1846,11 @@
cert = X509()
name = cert.get_subject()
name.C = 'AU'
- name.O = 'Unit Tests'
+ name.OU = 'Unit Tests'
cert.set_subject(name)
assert (
cert.get_subject().get_components() ==
- [(b'C', b'AU'), (b'O', b'Unit Tests')])
+ [(b'C', b'AU'), (b'OU', b'Unit Tests')])
def test_get_issuer(self):
"""
@@ -1882,11 +1882,11 @@
cert = X509()
name = cert.get_issuer()
name.C = 'AU'
- name.O = 'Unit Tests'
+ name.OU = 'Unit Tests'
cert.set_issuer(name)
assert (
cert.get_issuer().get_components() ==
- [(b'C', b'AU'), (b'O', b'Unit Tests')])
+ [(b'C', b'AU'), (b'OU', b'Unit Tests')])
def test_get_pubkey_uninitialized(self):
"""