from tests import app @app.route("/error-assert-xpath") def error_assert_xpath(): return 'Test'