commit
3301a1c173
1
AUTHORS
1
AUTHORS
|
@ -59,6 +59,7 @@ Georgy Dyuldin
|
||||||
Graham Horler
|
Graham Horler
|
||||||
Greg Price
|
Greg Price
|
||||||
Grig Gheorghiu
|
Grig Gheorghiu
|
||||||
|
Grigorii Eremeev (budulianin)
|
||||||
Guido Wesdorp
|
Guido Wesdorp
|
||||||
Harald Armin Massa
|
Harald Armin Massa
|
||||||
Ian Bicking
|
Ian Bicking
|
||||||
|
|
|
@ -701,7 +701,7 @@ Using fixtures from classes, modules or projects
|
||||||
Sometimes test functions do not directly need access to a fixture object.
|
Sometimes test functions do not directly need access to a fixture object.
|
||||||
For example, tests may require to operate with an empty directory as the
|
For example, tests may require to operate with an empty directory as the
|
||||||
current working directory but otherwise do not care for the concrete
|
current working directory but otherwise do not care for the concrete
|
||||||
directory. Here is how you can can use the standard `tempfile
|
directory. Here is how you can use the standard `tempfile
|
||||||
<http://docs.python.org/library/tempfile.html>`_ and pytest fixtures to
|
<http://docs.python.org/library/tempfile.html>`_ and pytest fixtures to
|
||||||
achieve it. We separate the creation of the fixture into a conftest.py
|
achieve it. We separate the creation of the fixture into a conftest.py
|
||||||
file::
|
file::
|
||||||
|
|
Loading…
Reference in New Issue