def test_xlist_count_case_insensitive_withother(self): xl = XList(['MANY', 1, 'many'], {'first_attr': 1}) nl = xl.count_ci('Many') self.assertTrue(nl == 2)