fix conftest

fix conftest
pull/232/head
peng.xu 2019-10-25 14:32:23 +08:00
parent 0a172fc8f6
commit 822a9c960b
2 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@ os.makedirs(dirpath, 0o777)
settings.TestingConfig.SQLALCHEMY_DATABASE_URI = 'sqlite:///{}?check_same_thread=False'.format(
filepath)
@pytest.fixture
def app(request):
app = create_app(settings.TestingConfig)