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

Method _class_scope

test/modules/md/test_801_stapling.py:18–30  ·  view source on GitHub ↗
(self, env, acme)

Source from the content-addressed store, hash-verified

16
17 @pytest.fixture(autouse=True, scope='class')
18 def _class_scope(self, env, acme):
19 acme.start(config='default')
20 env.check_acme()
21 env.clear_store()
22 domain = env.get_class_domain(self.__class__)
23 mdA = "a-" + domain
24 mdB = "b-" + domain
25 self.configure_httpd(env, [mdA, mdB]).install()
26 env.apache_stop()
27 assert env.apache_restart() == 0, f'{env.apachectl_stderr}'
28 assert env.await_completion([mdA, mdB])
29 env.check_md_complete(mdA)
30 env.check_md_complete(mdB)
31
32 @pytest.fixture(autouse=True, scope='function')
33 def _method_scope(self, env, request):

Callers

nothing calls this directly

Calls 10

configure_httpdMethod · 0.95
check_acmeMethod · 0.80
clear_storeMethod · 0.80
get_class_domainMethod · 0.80
installMethod · 0.80
apache_stopMethod · 0.80
apache_restartMethod · 0.80
await_completionMethod · 0.80
check_md_completeMethod · 0.80
startMethod · 0.45

Tested by

no test coverage detected