Update fixture.rst (#5295)

Update fixture.rst
This commit is contained in:
Bruno Oliveira 2019-05-21 11:57:15 -03:00 committed by GitHub
commit 65342db7a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1179,6 +1179,8 @@ Given the tests file structure is:
conftest.py
# content of tests/conftest.py
import pytest
@pytest.fixture
def username():
return 'username'