MCPcopy Create free account
hub / github.com/certbot/certbot / setUp

Method setUp

certbot/src/certbot/_internal/tests/hook_test.py:370–377  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

368 return deploy_hook(*args, **kwargs)
369
370 def setUp(self):
371 super().setUp()
372 self.config.deploy_hook = "foo"
373
374 filesystem.makedirs(self.config.renewal_deploy_hooks_dir)
375 self.dir_hook = os.path.join(self.config.renewal_deploy_hooks_dir,
376 "bar")
377 create_hook(self.dir_hook)
378
379 def test_no_hooks(self):
380 self.config.deploy_hook = None

Callers

nothing calls this directly

Calls 2

create_hookFunction · 0.85
setUpMethod · 0.45

Tested by

no test coverage detected