def test_ssi_disabled6(self): test_list = [] line = DirectiveInfo(DirectiveLine("Options", ["+Includes"]), 0, 'file.txt') test_list.append(line) auditor = ApacheConfigAuditor(test_list) self.assertFalse(auditor.ssi_disabled())
def test_ssi_disabled2(self): """ Check case where all Options have value "None" """ test_list = [] line = DirectiveInfo(DirectiveLine("Options", ["None"]), 0, 'file.txt') test_list.append(line) auditor = ApacheConfigAuditor(test_list) self.assertTrue(auditor.ssi_disabled())
def test_ssi_disabled1(self): test_list = [] auditor = ApacheConfigAuditor(test_list) self.assertFalse(auditor.ssi_disabled())