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