Revert "Gate: fix AttributeError: load_pem_x509_csr"
Cryptography 1.3.1 has been released which closes this bug, meaning this
patch can now be reverted. As the problem has now been fixed.
https://github.com/pyca/cryptography/issues/2844 is now closed.
This reverts commit a75b5fb77a
.
Change-Id: I387ff9fe099460f98303cf930b79db1632791ccd
This commit is contained in:
parent
e2def6f8d3
commit
a87603bd90
|
@ -183,9 +183,7 @@ class TestX509(base.BaseTestCase):
|
|||
|
||||
self.assertInClientExtensions(cert)
|
||||
|
||||
# Notes(eliqiao): Remove this '_module' after cryptography issue fixed
|
||||
# https://github.com/pyca/cryptography/issues/2844
|
||||
@mock.patch('cryptography.x509._module.load_pem_x509_csr')
|
||||
@mock.patch('cryptography.x509.load_pem_x509_csr')
|
||||
@mock.patch('six.b')
|
||||
def test_sign_with_unicode_csr(self, mock_six, mock_load_pem):
|
||||
ca_key = self._generate_private_key()
|
||||
|
|
Loading…
Reference in New Issue