Skip to content

Commit

Permalink
[tests] Fixed a fixture to be a return-type fixture instead of a yiel…
Browse files Browse the repository at this point in the history
…d-type
  • Loading branch information
frol committed Nov 3, 2017
1 parent 61b34f5 commit 15832bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def db(flask_app):
yield db_instance


@pytest.yield_fixture(scope='session')
@pytest.fixture(scope='session')
def temp_db_instance_helper(db):
def temp_db_instance_manager(instance):
with db.session.begin():
Expand Down

0 comments on commit 15832bf

Please sign in to comment.