Skip to content

Commit 6521aa6

Browse files
committed
Use non-deprecated fixture decorator for session_factory.
1 parent 2926c7c commit 6521aa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphene_sqlalchemy/tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def convert_composite_class(composite, registry):
2222
return graphene.Field(graphene.Int)
2323

2424

25-
@pytest.yield_fixture(scope="function")
25+
@pytest.fixture(scope="function")
2626
def session_factory():
2727
engine = create_engine(test_db_url)
2828
Base.metadata.create_all(engine)

0 commit comments

Comments
 (0)