Skip to content

Commit

Permalink
Attempt to fix the unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
webbnh committed Jun 8, 2023
1 parent e7d33d4 commit 9bbd144
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/pbench/test/unit/server/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ def client(monkeypatch, server_config, add_auth_connection_mock):
the db_session fixture instead, which adds DB cleanup after the test.
"""
app = create_app(server_config)
app.config["PREFERRED_URL_SCHEME"] = "https"

app_client = app.test_client()
app_client.logger = app.logger
Expand Down

0 comments on commit 9bbd144

Please sign in to comment.