def test_indexing_disabled2(self): test_list = [] line = DirectiveInfo(DirectiveLine("Options", ["None"]), 0, 'file.txt') test_list.append(line) auditor = ApacheConfigAuditor(test_list) self.assertTrue(auditor.indexing_disabled())
def test_indexing_disabled1(self): test_list = [] auditor = ApacheConfigAuditor(test_list) self.assertFalse(auditor.indexing_disabled())