mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
parent
ba799dd0e7
commit
377b146cee
1 changed files with 1 additions and 1 deletions
|
|
@ -128,7 +128,7 @@ class AutoHSTSTest(util.ApacheTest):
|
|||
max_val
|
||||
|
||||
def test_autohsts_update_noop(self):
|
||||
with mock.patch("certbot_apache._internal.configurator.time.time") as mock_time:
|
||||
with mock.patch("time.time") as mock_time:
|
||||
# Time mock is used to make sure that the execution does not
|
||||
# continue when no autohsts entries exist in pluginstorage
|
||||
self.config.update_autohsts(mock.MagicMock())
|
||||
|
|
|
|||
Loading…
Reference in a new issue