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

Method __init__

test/modules/proxy/env.py:24–38  ·  view source on GitHub ↗
(self, pytestconfig=None)

Source from the content-addressed store, hash-verified

22class ProxyTestEnv(HttpdTestEnv):
23
24 def __init__(self, pytestconfig=None):
25 super().__init__(pytestconfig=pytestconfig)
26 self.add_httpd_conf([
27 ])
28 self._d_reverse = f"reverse.{self.http_tld}"
29 self._d_forward = f"forward.{self.http_tld}"
30 self._d_mixed = f"mixed.{self.http_tld}"
31
32 self.add_httpd_log_modules(["proxy", "proxy_http", "proxy_balancer", "lbmethod_byrequests", "ssl"])
33 self.add_cert_specs([
34 CertificateSpec(domains=[
35 self._d_forward, self._d_reverse, self._d_mixed
36 ]),
37 CertificateSpec(domains=[f"noh2.{self.http_tld}"], key_type='rsa2048'),
38 ])
39
40 def setup_httpd(self, setup: HttpdTestSetup = None):
41 super().setup_httpd(setup=ProxyTestSetup(env=self))

Callers 1

__init__Method · 0.45

Calls 4

CertificateSpecClass · 0.90
add_httpd_confMethod · 0.80
add_httpd_log_modulesMethod · 0.80
add_cert_specsMethod · 0.80

Tested by

no test coverage detected