Change example to reference from within same page (#10189)

This commit is contained in:
Brylie Christopher Oxley 2022-08-11 14:30:09 +03:00 committed by GitHub
parent c8ae63db7f
commit 20f1c95be2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -175,7 +175,8 @@ Back to fixtures
everything that test needs to do its thing. everything that test needs to do its thing.
At a basic level, test functions request fixtures by declaring them as 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 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 don't have to be limited to just the **arrange** steps. They can provide the