def test_in(self): predicate = is_in("this", 1, 5, 7) self.assertEqual(str(predicate), "InPredicate(attribute='this', 1,5,7)")
def test_in(self): self._fill_map_numeric(count=10) predicate = is_in("this", 1, 5, 7) self.assertItemsEqual(self.map.key_set(predicate), [1, 5, 7])