mirror of
https://github.com/certbot/certbot.git
synced 2026-06-03 13:59:02 -04:00
lint
This commit is contained in:
parent
78f3dffb38
commit
c6911a4679
1 changed files with 2 additions and 2 deletions
|
|
@ -142,10 +142,10 @@ class BackwardsCompatibleClientV2Test(ClientTestBase):
|
|||
with mock.patch('acme.client.ClientV2') as mock_client:
|
||||
mock_client().directory.meta.__contains__.return_value = True
|
||||
client = self._init()
|
||||
def tos_cb(tos):
|
||||
def _tos_cb(tos):
|
||||
raise errors.Error
|
||||
self.assertRaises(errors.Error, client.new_account_and_tos,
|
||||
self.new_reg, tos_cb)
|
||||
self.new_reg, _tos_cb)
|
||||
mock_client().new_account.assert_not_called()
|
||||
|
||||
# v1 yes tos
|
||||
|
|
|
|||
Loading…
Reference in a new issue