def test_timeout_set4(self): test_list = [] line = DirectiveInfo(DirectiveLine("Timeout", ["301"]), 0, 'file.txt') test_list.append(line) auditor = ApacheConfigAuditor(test_list) self.assertFalse(auditor.timeout_set())
def test_timeout_set1(self): test_list = [] auditor = ApacheConfigAuditor(test_list) self.assertTrue(auditor.timeout_set())