diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-04-11 15:52:04 -0400 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-04-11 15:52:04 -0400 |
commit | e613e5d8d922d7617409b878b3c2450eb9d21877 (patch) | |
tree | 66efb817c87dc3e2a494eb28a5397041cf246f04 /tests/test_x509.py | |
parent | 1fb35c9e0dc716571dca894075c59f3ed60f47f3 (diff) | |
download | cryptography-e613e5d8d922d7617409b878b3c2450eb9d21877.tar.gz cryptography-e613e5d8d922d7617409b878b3c2450eb9d21877.tar.bz2 cryptography-e613e5d8d922d7617409b878b3c2450eb9d21877.zip |
let's make that repr actually good
Diffstat (limited to 'tests/test_x509.py')
-rw-r--r-- | tests/test_x509.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/test_x509.py b/tests/test_x509.py index 7e7d4dd9..d8a4cc02 100644 --- a/tests/test_x509.py +++ b/tests/test_x509.py @@ -615,7 +615,8 @@ class TestName(object): ]) assert repr(name) == ( - "[<NameAttribute(oid=<ObjectIdentifier(oid=2.5.4.3, name=commonN" - "ame)>, value='cryptography.io')>, <NameAttribute(oid=<ObjectIde" - "ntifier(oid=2.5.4.10, name=organizationName)>, value='PyCA')>]" + "<Name([<NameAttribute(oid=<ObjectIdentifier(oid=2.5.4.3, name=com" + "monName)>, value='cryptography.io')>, <NameAttribute(oid=<ObjectI" + "dentifier(oid=2.5.4.10, name=organizationName)>, value='PyCA')>])" + ">" ) |