From d8ebfc9d51174e9692797f30c5ca541ccdff6cc1 Mon Sep 17 00:00:00 2001 From: Grey Li Date: Fri, 17 Nov 2023 21:59:19 +0800 Subject: [PATCH] Fix the test for basic app --- test/basic_app.py | 1 + test/test_toolbar.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/test/basic_app.py b/test/basic_app.py index 689d14a..a936d5f 100644 --- a/test/basic_app.py +++ b/test/basic_app.py @@ -4,6 +4,7 @@ from flask_debugtoolbar import DebugToolbarExtension app = Flask('basic_app') +app.config['DEBUG'] = True app.config['SECRET_KEY'] = 'abc123' app.config['SQLALCHEMY_RECORD_QUERIES'] = True app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///:memory:' diff --git a/test/test_toolbar.py b/test/test_toolbar.py index fd04ddc..8624ee3 100644 --- a/test/test_toolbar.py +++ b/test/test_toolbar.py @@ -7,7 +7,6 @@ def load_app(name): app = __import__(name).app - app.config['TESTING'] = True return app.test_client()