Skip to content

Commit

Permalink
Fix the test for basic app
Browse files Browse the repository at this point in the history
  • Loading branch information
greyli committed Nov 17, 2023
1 parent 2b8bf9c commit d8ebfc9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions test/basic_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:'
Expand Down
1 change: 0 additions & 1 deletion test/test_toolbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

def load_app(name):
app = __import__(name).app
app.config['TESTING'] = True
return app.test_client()


Expand Down

0 comments on commit d8ebfc9

Please sign in to comment.