From 20f1c95be2cfa2c182cf0a9b37e90106d55bcdde Mon Sep 17 00:00:00 2001 From: Brylie Christopher Oxley Date: Thu, 11 Aug 2022 14:30:09 +0300 Subject: [PATCH] Change example to reference from within same page (#10189) --- doc/en/fixture.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/en/fixture.rst b/doc/en/fixture.rst index 4c9cfef46..2fce4be82 100644 --- a/doc/en/fixture.rst +++ b/doc/en/fixture.rst @@ -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