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

Method test_md_300_005

test/modules/md/test_300_conf_validate.py:86–99  ·  view source on GitHub ↗
(self, env)

Source from the content-addressed store, hash-verified

84
85 # test case: two MDomains, one inside a virtual host
86 def test_md_300_005(self, env):
87 MDConf(env, text="""
88 MDomain not-forbidden.org www.not-forbidden.org mail.not-forbidden.org test3.not-forbidden.org
89 <VirtualHost *:12346>
90 MDomain example2.org www.example2.org www.example3.org
91 </VirtualHost>
92 """).install()
93 assert env.apache_restart() == 0, f'{env.apachectl_stderr}'
94 #
95 env.httpd_error_log.ignore_recent(
96 lognos = [
97 "AH10045" # No VirtualHost matches Managed Domain
98 ]
99 )
100
101 # test case: two MDomains, one correct vhost name
102 def test_md_300_006(self, env):

Callers

nothing calls this directly

Calls 4

MDConfClass · 0.85
installMethod · 0.80
apache_restartMethod · 0.80
ignore_recentMethod · 0.80

Tested by

no test coverage detected