summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2017-11-20 08:19:32 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2017-11-20 21:19:32 +0800
commitc3697ad289dc011692591246e8d6d341f37da298 (patch)
tree4934d3daab2e7d9eb80af4528ceac6520a107666 /tests
parentfe0120f9fbf08ca937cc95cf409c0d888145fafa (diff)
downloadpyopenssl-git-c3697ad289dc011692591246e8d6d341f37da298.tar.gz
fix errors with latest flake8 (#710)
* fix errors with latest flake8 * Also fix the macOS builds * fix? * allow urllib3 to fail for now
Diffstat (limited to 'tests')
-rw-r--r--tests/test_crypto.py8
1 files changed, 4 insertions, 4 deletions
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 @@ WpOdIpB8KksUTCzV591Nr1wd
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 @@ WpOdIpB8KksUTCzV591Nr1wd
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):
"""