don't use Flask(__name__) in conftest

This commit is contained in:
David Lord 2018-02-28 06:50:49 -08:00
parent 624895620a
commit 5f42989ce3
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
2 changed files with 2 additions and 2 deletions

View file

@ -215,5 +215,5 @@ def test_clean_pop(app):
except ZeroDivisionError:
pass
assert called == ['conftest', 'TEARDOWN']
assert called == ['flask_test', 'TEARDOWN']
assert not flask.current_app