def test_should_provide_a_get_or_404_method_on_query_object(self):
        self._replace_flask_abort()
        searched_todo = self.Todo.query.get_or_404('4e038a23e4206650da0000df')
        self.mocker.verify()

        todo = self.Todo(description=u'Start something')
        todo.save()
        searched_todo = self.Todo.query.get_or_404(str(todo.mongo_id))
        self.assertEqual(todo, searched_todo)
The errors that should be displayed.
dataset/ETHPy150Open cobrateam/flask-mongoalchemy/tests/test_query.py/FlaskMongoAlchemyQueryTestCase.test_should_provide_a_get_or_404_method_on_query_object--crossover with--dataset/ETHPy150Open mitsuhiko/fungiform/fungiform/widgets.py/Widget.default_display_errors