reword a parametrize example sentence
This commit is contained in:
parent
2d613a03b3
commit
f4a84a8dfd
|
@ -262,8 +262,8 @@ Deferring the setup of parametrized resources
|
||||||
The parametrization of test functions happens at collection
|
The parametrization of test functions happens at collection
|
||||||
time. It is a good idea to setup expensive resources like DB
|
time. It is a good idea to setup expensive resources like DB
|
||||||
connections or subprocess only when the actual test is run.
|
connections or subprocess only when the actual test is run.
|
||||||
Here is a simple example how you can achieve that, first
|
Here is a simple example how you can achieve that. This test
|
||||||
the actual test requiring a ``db`` object:
|
requires a ``db`` object fixture:
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue