def test_keepalivetimeout_set4(self): test_list = [] line = DirectiveInfo(DirectiveLine("KeepAliveTimeout", ["16"]), 0, 'file.txt') test_list.append(line) auditor = ApacheConfigAuditor(test_list) self.assertFalse(auditor.keepalivetimeout_set())
def test_keepalivetimeout_set1(self): test_list = [] auditor = ApacheConfigAuditor(test_list) self.assertTrue(auditor.keepalivetimeout_set())