def test_can_combine_exclude(self):
        self.assertEqual(self.manager.exclude(TestModel.a == 1).exclude(TestModel.name == 'test_4'), self.OBJECTS[2:3])
        self.assertEqual(self.manager.exclude((TestModel.a == 2) & (TestModel.name == 'test_4')), self.OBJECTS[:3])

        self.assertEqual(self.dict_manager.exclude(TestModel.a == 1).exclude(TestModel.name != 'test_4'), self.DICTS[2:3])
        self.assertEqual(self.dict_manager.exclude((TestModel.a == 2) & (TestModel.name == 'test_4')), self.DICTS[:3])
dataset/ETHPy150Open EliotBerriot/lifter/tests/test_explicit_query_engine.py/TestQueries.test_can_combine_exclude/operator `==` -> `!=`