reword a parametrize example sentence (#5745)
reword a parametrize example sentence
This commit is contained in:
commit
ac052a98ad
|
@ -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