issue #3308: fix example in documentation

https://github.com/pytest-dev/pytest/issues/3308
This commit is contained in:
Tareq Alayan 2018-03-14 13:51:45 +02:00
parent b2b629f462
commit 7e53f9432c
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
Fix a python example when calling a fixture in doc/en/usage.rst

View File

@ -337,7 +337,7 @@ to all testcases you can use ``LogXML.add_global_properties``
my_junit.add_global_property('ARCH', 'PPC')
my_junit.add_global_property('STORAGE_TYPE', 'CEPH')
@pytest.mark.usefixtures(log_global_env_facts)
@pytest.mark.usefixtures(log_global_env_facts.__name__)
def start_and_prepare_env():
pass