def test_values_list(self):
        expected = [2, 3]
        self.assertEqual(self.manager.filter(TestModel.a == 1).values_list(TestModel.order, flat=True), expected)
        self.assertEqual(self.dict_manager.filter(TestModel.a == 1).values_list(TestModel.order, flat=True), expected)

        expected = [
            (2, 1),
            (3, 1),
        ]
        self.assertEqual(self.manager.filter(TestModel.a == 1).values_list(TestModel.order, TestModel.a), expected)
        self.assertEqual(self.dict_manager.filter(TestModel.a == 1).values_list(TestModel.order, TestModel.a), expected)
dataset/ETHPy150Open EliotBerriot/lifter/tests/test_explicit_query_engine.py/TestQueries.test_values_list/original