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

Method _write_res_file

test/modules/md/test_702_auto.py:32–35  ·  view source on GitHub ↗
(self, doc_root, name, content)

Source from the content-addressed store, hash-verified

30 self.test_domain = env.get_request_domain(request)
31
32 def _write_res_file(self, doc_root, name, content):
33 if not os.path.exists(doc_root):
34 os.makedirs(doc_root)
35 open(os.path.join(doc_root, name), "w").write(content)
36
37 # create a MD not used in any virtual host, auto drive should NOT pick it up
38 def test_md_702_001(self, env):

Callers 3

test_md_702_003Method · 0.95
test_md_702_005Method · 0.95
test_md_702_006Method · 0.95

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected