def test_get_exclude_and_filter_combine_queries_to_and_by_default(self):
        self.assertEqual(self.manager.all().get(TestModel.order > 2, TestModel.a == 2), self.OBJECTS[3])
        self.assertEqual(self.manager.all().filter(TestModel.order > 2, TestModel.a == 2), [self.OBJECTS[3]])
        self.assertEqual(self.manager.all().exclude(TestModel.order > 2, TestModel.a == 2), self.OBJECTS[:3])
dataset/ETHPy150Open EliotBerriot/lifter/tests/test_explicit_query_engine.py/TestQueries.test_get_exclude_and_filter_combine_queries_to_and_by_default/original