Skip to content

Commit

Permalink
fix: reference app not function
Browse files Browse the repository at this point in the history
  • Loading branch information
ElJocho authored and matthiasschaub committed Oct 16, 2023
1 parent 6d5cb8c commit 3b1cb28
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ def flask_app():
app.add_url_rule(
"/digitize/results", view_func=digitize_results_post, methods=["POST", "GET"]
)
flask_app.add_url_rule("/digitize", view_func=digitize, methods=["GET"])
flask_app.add_url_rule("/", view_func=index, methods=["GET"])
flask_app.add_url_rule("/about", view_func=about, methods=["GET"])
flask_app.add_url_rule("/help", view_func=help, methods=["GET"])
app.add_url_rule("/digitize", view_func=digitize, methods=["GET"])
app.add_url_rule("/", view_func=index, methods=["GET"])
app.add_url_rule("/about", view_func=about, methods=["GET"])
app.add_url_rule("/help", view_func=help, methods=["GET"])
yield app


Expand Down

0 comments on commit 3b1cb28

Please sign in to comment.