def test_keepalive_set1(self): test_list = [] line = DirectiveInfo(DirectiveLine("KeepAlive", ["On"]), 0, 'file.txt') test_list.append(line) auditor = ApacheConfigAuditor(test_list) self.assertTrue(auditor.keepalive_set())
def test_keepalive_set1(self): test_list = [] auditor = ApacheConfigAuditor(test_list) self.assertFalse(auditor.keepalive_set())