def test_exception_raised_on_missing_attr(self):
        with self.assertRaises(lifter.exceptions.MissingAttribute):
            list(self.manager.filter(TestModel.x == "y"))
        with self.assertRaises(lifter.exceptions.MissingAttribute):
            list(self.dict_manager.filter(TestModel.x == "y"))
dataset/ETHPy150Open EliotBerriot/lifter/tests/test_explicit_query_engine.py/TestQueries.test_exception_raised_on_missing_attr/original