Skip to content

Commit

Permalink
Change example to reference from within same page (#10189)
Browse files Browse the repository at this point in the history
  • Loading branch information
brylie committed Aug 11, 2022
1 parent c8ae63d commit 20f1c95
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/en/fixture.rst
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ Back to fixtures
everything that test needs to do its thing.

At a basic level, test functions request fixtures by declaring them as
arguments, as in the ``test_ehlo(smtp_connection):`` in the previous example.
arguments, as ``my_fruit`` and ``fruit_basket`` in the
``test_my_fruit_in_basket(my_fruit, fruit_basket):`` example below.

In pytest, "fixtures" are functions you define that serve this purpose. But they
don't have to be limited to just the **arrange** steps. They can provide the
Expand Down

0 comments on commit 20f1c95

Please sign in to comment.