assert_callend_once -> assert_called_once

This commit is contained in:
Jakub Warmuz 2015-07-10 05:44:21 +00:00
parent 30a02d4487
commit 0c46f80fdd
No known key found for this signature in database
GPG key ID: 2A7BAD3A489B52EA

View file

@ -81,7 +81,7 @@ class ClientTest(unittest.TestCase):
def _check_obtain_certificate(self):
self.client.auth_handler.get_authorizations.assert_called_once_with(
["example.com", "www.example.com"])
self.acme.request_issuance.assert_callend_once_with(
self.acme.request_issuance.assert_called_once_with(
jose.ComparableX509(OpenSSL.crypto.load_certificate_request(
OpenSSL.crypto.FILETYPE_ASN1, CSR_SAN)),
self.client.auth_handler.get_authorizations())