From c5fa1d1c3e1a6acac23cad3658ee529e42e3ef1e Mon Sep 17 00:00:00 2001 From: oleg-yegorov Date: Tue, 21 May 2019 09:40:31 +0300 Subject: [PATCH] Update fixture.rst add a missing import --- doc/en/fixture.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/en/fixture.rst b/doc/en/fixture.rst index 23b32e9a7..ed9c11b2e 100644 --- a/doc/en/fixture.rst +++ b/doc/en/fixture.rst @@ -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'