Skip to content

Commit

Permalink
tests/flask_api: Fix regression since pytest-flask 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
anlambert committed Nov 9, 2023
1 parent 3ebf460 commit eb46e91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions swh/scanner/tests/flask_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

def create_app(tmp_requests, tmp_accesses):
app = Flask(__name__)
app.config["SERVER_NAME"] = "localhost"

@app.route("/")
def index():
Expand Down

0 comments on commit eb46e91

Please sign in to comment.