Skip to content

Commit 02d8264

Browse files
update test
1 parent 68cb405 commit 02d8264

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

ClientAdvisor/App/app.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151

5252
def create_app():
5353
app = Quart(__name__)
54+
app.config["PROVIDE_AUTOMATIC_OPTIONS"] = True
5455
app.register_blueprint(bp)
5556
app.config["TEMPLATES_AUTO_RELOAD"] = True
5657
# app.secret_key = secrets.token_hex(16)

ClientAdvisor/App/tests/test_app.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ def test_create_app():
5656
assert app is not None
5757
assert app.name == "app"
5858
assert "routes" in app.blueprints
59-
app.config["PROVIDE_AUTOMATIC_OPTIONS"] = True
60-
assert app.config["PROVIDE_AUTOMATIC_OPTIONS"] is True
6159

6260

6361
@patch("app.get_bearer_token_provider")

0 commit comments

Comments
 (0)