def test_can_filter_using_callable(self):
        self.assertEqual(self.manager.filter(TestModel.order.test(lambda v: v in [1, 3])), [self.OBJECTS[1], self.OBJECTS[2]])

        self.assertEqual(self.dict_manager.filter(TestModel.order.test(lambda v: v in [1, 3])), [self.DICTS[1], self.DICTS[2]])
dataset/ETHPy150Open EliotBerriot/lifter/tests/test_explicit_query_engine.py/TestQueries.test_can_filter_using_callable/original