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

@ -60,7 +60,7 @@ class Flask(_Flask):
@pytest.fixture
def app():
app = Flask(__name__)
app = Flask('flask_test', root_path=os.path.dirname(__file__))
return app