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

Method has_a2md

test/modules/md/md_env.py:91–97  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

89
90 @classmethod
91 def has_a2md(cls):
92 d = os.path.dirname(inspect.getfile(HttpdTestEnv))
93 config = ConfigParser(interpolation=ExtendedInterpolation())
94 config.read(os.path.join(d, 'config.ini'))
95 bin_dir = config.get('global', 'bindir')
96 a2md_bin = os.path.join(bin_dir, 'a2md')
97 return os.path.isfile(a2md_bin)
98
99 def __init__(self, pytestconfig=None):
100 super().__init__(pytestconfig=pytestconfig)

Callers

nothing calls this directly

Calls 2

joinMethod · 0.80
getMethod · 0.80

Tested by

no test coverage detected