forked from orbit-oss/flask
don't use Flask(__name__) in conftest
This commit is contained in:
parent
624895620a
commit
5f42989ce3
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue