forked from Github-Mirrors/canaille
remove unnecessary application context in unit tests
This commit is contained in:
parent
cea37712f0
commit
a631946cb5
1 changed files with 1 additions and 2 deletions
|
@ -120,7 +120,6 @@ def app(configuration, backend):
|
|||
def testclient(app):
|
||||
app.config["TESTING"] = True
|
||||
app.jinja_env.undefined = StrictUndefined
|
||||
with app.app_context():
|
||||
yield TestApp(app)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue