remove unnecessary application context in unit tests

This commit is contained in:
Éloi Rivard 2023-07-18 16:34:32 +02:00
parent cea37712f0
commit a631946cb5
No known key found for this signature in database
GPG key ID: 7EDA204EA57DD184

View file

@ -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)