Coverage ignore on a single refresh function call

This commit is contained in:
Joona Hoikkala 2019-12-13 19:53:59 +02:00
parent efbc18d787
commit e4524e6fec
No known key found for this signature in database
GPG key ID: D5AA86BBF9B29A5C

View file

@ -451,7 +451,7 @@ class ApacheParser(object):
# Catch include and includeoptional
if directive.lower().startswith("include"):
# Refresh the list of includes
self.includes = self._find_all_includes()
self.includes = self._find_all_includes() # pragma: no cover
def get_ifmod(self, aug_conf_path, mod, beginning=False):
"""Returns the path to <IfMod mod> and creates one if it doesn't exist.