mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 14:26:10 -04:00
mock the right object
This commit is contained in:
parent
e039920a99
commit
57d5685de1
1 changed files with 1 additions and 1 deletions
|
|
@ -517,7 +517,7 @@ class MainTest(test_util.ConfigTestCase): # pylint: disable=too-many-public-met
|
|||
'--work-dir', self.config.work_dir,
|
||||
'--logs-dir', self.config.logs_dir, '--text']
|
||||
|
||||
self.mock_sleep = mock.patch('certbot.time.sleep').start()
|
||||
self.mock_sleep = mock.patch('time.sleep').start()
|
||||
|
||||
def tearDown(self):
|
||||
# Reset globals in cli
|
||||
|
|
|
|||
Loading…
Reference in a new issue