(self, env)
| 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): |
nothing calls this directly
no test coverage detected