We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68cb405 commit 02d8264Copy full SHA for 02d8264
ClientAdvisor/App/app.py
@@ -51,6 +51,7 @@
51
52
def create_app():
53
app = Quart(__name__)
54
+ app.config["PROVIDE_AUTOMATIC_OPTIONS"] = True
55
app.register_blueprint(bp)
56
app.config["TEMPLATES_AUTO_RELOAD"] = True
57
# app.secret_key = secrets.token_hex(16)
ClientAdvisor/App/tests/test_app.py
@@ -56,8 +56,6 @@ def test_create_app():
assert app is not None
assert app.name == "app"
58
assert "routes" in app.blueprints
59
- app.config["PROVIDE_AUTOMATIC_OPTIONS"] = True
60
- assert app.config["PROVIDE_AUTOMATIC_OPTIONS"] is True
61
62
63
@patch("app.get_bearer_token_provider")
0 commit comments