mirror of
https://github.com/certbot/certbot.git
synced 2026-06-03 13:59:02 -04:00
Fix repr differences between PyOpenSSL versions
This commit is contained in:
parent
6f7299f9ed
commit
1af997158d
1 changed files with 2 additions and 2 deletions
|
|
@ -44,8 +44,8 @@ class ComparableX509Test(unittest.TestCase):
|
|||
|
||||
def test_repr(self):
|
||||
for x509 in self.req1, self.cert1:
|
||||
self.assertTrue(repr(x509).startswith(
|
||||
'<ComparableX509(<OpenSSL.crypto.X509'))
|
||||
self.assertEqual(repr(x509),
|
||||
'<ComparableX509({0!r})>'.format(x509.wrapped))
|
||||
|
||||
|
||||
class ComparableRSAKeyTest(unittest.TestCase):
|
||||
|
|
|
|||
Loading…
Reference in a new issue