mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 22:33:00 -04:00
skip meta creation to speed up tests (#8575)
This commit is contained in:
parent
5c3fd7d9ee
commit
daf989fc21
1 changed files with 6 additions and 1 deletions
|
|
@ -113,11 +113,16 @@ class AccountFileStorageTest(test_util.ConfigTestCase):
|
|||
|
||||
from certbot._internal.account import Account
|
||||
new_authzr_uri = "hi"
|
||||
meta = Account.Meta(
|
||||
creation_host="test.example.org",
|
||||
creation_dt=datetime.datetime(
|
||||
2021, 1, 5, 14, 4, 10, tzinfo=pytz.UTC))
|
||||
self.acc = Account(
|
||||
regr=messages.RegistrationResource(
|
||||
uri=None, body=messages.Registration(),
|
||||
new_authzr_uri=new_authzr_uri),
|
||||
key=KEY)
|
||||
key=KEY,
|
||||
meta=meta)
|
||||
self.mock_client = mock.MagicMock()
|
||||
self.mock_client.directory.new_authz = new_authzr_uri
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue