Minor updates to fixtures docs (#10724)
Updated the c fixture to be a little more consistent with other fixtures in the corresponding image. for example both e and g both have edges connected with the fixtures that they explicitly depend on.
This commit is contained in:
parent
72ad32411f
commit
88c9e92258
|
@ -17,7 +17,7 @@ def b(a, order):
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def c(a, b, order):
|
def c(b, order):
|
||||||
order.append("c")
|
order.append("c")
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -335,7 +335,7 @@ For example:
|
||||||
|
|
||||||
.. literalinclude:: /example/fixtures/test_fixtures_order_dependencies.py
|
.. literalinclude:: /example/fixtures/test_fixtures_order_dependencies.py
|
||||||
|
|
||||||
If we map out what depends on what, we get something that look like this:
|
If we map out what depends on what, we get something that looks like this:
|
||||||
|
|
||||||
.. image:: /example/fixtures/test_fixtures_order_dependencies.*
|
.. image:: /example/fixtures/test_fixtures_order_dependencies.*
|
||||||
:align: center
|
:align: center
|
||||||
|
|
Loading…
Reference in New Issue