Update fixture.rst

add a missing import
This commit is contained in:
oleg-yegorov 2019-05-21 09:40:31 +03:00 committed by GitHub
parent 6663cb054c
commit c5fa1d1c3e
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'