Fix auto-use fixture doc
This commit is contained in:
parent
ae4e596b31
commit
a4fd5cdcb5
|
@ -858,7 +858,7 @@ into a conftest.py file **without** using ``autouse``::
|
|||
|
||||
# content of conftest.py
|
||||
@pytest.fixture
|
||||
def transact(self, request, db):
|
||||
def transact(request, db):
|
||||
db.begin()
|
||||
yield
|
||||
db.rollback()
|
||||
|
|
Loading…
Reference in New Issue