From 1fd0dcd5108ae4abd960ddadb666f1d6a2d7177f Mon Sep 17 00:00:00 2001 From: Chris NeJame Date: Wed, 19 Jan 2022 09:09:47 -0500 Subject: [PATCH] fix missing ref to flattened fixture order image --- .../test_fixtures_order_autouse_flat.svg | 56 +++++++++++++++++++ doc/en/reference/fixtures.rst | 3 + 2 files changed, 59 insertions(+) create mode 100644 doc/en/example/fixtures/test_fixtures_order_autouse_flat.svg diff --git a/doc/en/example/fixtures/test_fixtures_order_autouse_flat.svg b/doc/en/example/fixtures/test_fixtures_order_autouse_flat.svg new file mode 100644 index 00000000000..03c4598272a --- /dev/null +++ b/doc/en/example/fixtures/test_fixtures_order_autouse_flat.svg @@ -0,0 +1,56 @@ + + + + + order + + a + + b + + c + + autouse + + d + + e + + f + + g + + test_order + diff --git a/doc/en/reference/fixtures.rst b/doc/en/reference/fixtures.rst index da2c5e009c3..d25979ab95d 100644 --- a/doc/en/reference/fixtures.rst +++ b/doc/en/reference/fixtures.rst @@ -401,6 +401,9 @@ the graph would look like this: Because ``c`` can now be put above ``d`` in the graph, pytest can once again linearize the graph to this: +.. image:: /example/fixtures/test_fixtures_order_autouse_flat.* + :align: center + In this example, ``c`` makes ``b`` and ``a`` effectively autouse fixtures as well.