def test_get_raise_exception_on_does_not_exist(self):
        with self.assertRaises(lifter.DoesNotExist):
            self.manager.all().get(TestModel.a == 123)

        with self.assertRaises(lifter.DoesNotExist):
            self.dict_manager.all().get(TestModel.a == 123)
dataset/ETHPy150Open EliotBerriot/lifter/tests/test_explicit_query_engine.py/TestQueries.test_get_raise_exception_on_does_not_exist/original