address flake8 issues
This commit is contained in:
parent
549fed29ea
commit
b46f5942a5
23 changed files with 86 additions and 89 deletions
|
|
@ -54,7 +54,7 @@ the application for testing and initializes a new database::
|
|||
def client():
|
||||
db_fd, flaskr.app.config['DATABASE'] = tempfile.mkstemp()
|
||||
flaskr.app.config['TESTING'] = True
|
||||
|
||||
|
||||
with flaskr.app.test_client() as client:
|
||||
with flaskr.app.app_context():
|
||||
flaskr.init_db()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue