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

Function teardown

test/modules/md/dns01_v2.py:21–27  ·  view source on GitHub ↗
(domain)

Source from the content-addressed store, hash-verified

19
20
21def teardown(domain):
22 rv = run([curl, '-s', '-d', f'{{"host":"_acme-challenge.{domain}"}}',
23 f'{challtestsrv}/clear-txt'])
24 if rv == 0:
25 rv = run([curl, '-s', '-d', f'{{"host":"{domain}"}}',
26 f'{challtestsrv}/set-txt'])
27 return rv
28
29
30def setup(domain, challenge):

Callers 2

setupFunction · 0.70
mainFunction · 0.70

Calls 1

runFunction · 0.70

Tested by

no test coverage detected