def test_values(self):
        expected = [
            {'order': 2},
            {'order': 3},
        ]
        self.assertEqual(self.manager.filter(TestModel.a == 1).values(TestModel.order), expected)
        self.assertEqual(self.dict_manager.filter(TestModel.a == 1).values(TestModel.order), expected)

        expected = [
            {'order': 2, 'a': 1},
            {'order': 3, 'a': 1},
        ]
        self.assertEqual(self.manager.filter(TestModel.a != 1).values(TestModel.order, TestModel.a), expected)
        self.assertEqual(self.dict_manager.filter(TestModel.a == 1).values(TestModel.order, TestModel.a), expected)
dataset/ETHPy150Open EliotBerriot/lifter/tests/test_explicit_query_engine.py/TestQueries.test_values/operator `==` -> `!=`