MCPcopy Create free account
hub / github.com/apache/httpd / test_md_920_003

Method test_md_920_003

test/modules/md/test_920_status.py:82–93  ·  view source on GitHub ↗
(self, env)

Source from the content-addressed store, hash-verified

80
81 # test if switching status off has effect
82 def test_md_920_003(self, env):
83 domain = self.test_domain
84 domains = [domain]
85 conf = MDConf(env)
86 conf.add_md(domains)
87 conf.add("MDCertificateStatus off")
88 conf.add_vhost(domain)
89 conf.install()
90 assert env.apache_restart() == 0, f'{env.apachectl_stderr}'
91 assert env.await_completion([domain], restart=False)
92 status = env.get_certificate_status(domain)
93 assert not status
94
95 def test_md_920_004(self, env):
96 domain = self.test_domain

Callers

nothing calls this directly

Calls 8

add_mdMethod · 0.95
MDConfClass · 0.85
addMethod · 0.80
add_vhostMethod · 0.80
installMethod · 0.80
apache_restartMethod · 0.80
await_completionMethod · 0.80

Tested by

no test coverage detected