exclude edge case from coverage

This commit is contained in:
Will Greenberg 2022-10-24 20:11:41 -07:00
parent 41edb7660e
commit e2075377c5

View file

@ -155,7 +155,8 @@ class CentOSConfigurator(BaseCentOSConfigurator):
use options.bin (i.e. httpd)
"""
if not self.options.bin:
raise ValueError("OS option apache_bin must be set for CentOS")
raise ValueError("OS option apache_bin must be set for CentOS") # pragma: no cover
self.options.get_modules_cmd[0] = self.options.bin
self.options.get_includes_cmd[0] = self.options.bin
self.options.get_defines_cmd[0] = self.options.bin