File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -228,12 +228,6 @@ At a basic level, test functions request fixtures by declaring them as
228
228
arguments, as in the ``test_my_fruit_in_basket(my_fruit, fruit_basket): `` in the
229
229
previous example.
230
230
231
- At a basic level, pytest depends on a test to tell it what fixtures it needs, so
232
- we have to build that information into the test itself. We have to make the test
233
- "**request **" the fixtures it depends on, and to do this, we have to
234
- list those fixtures as parameters in the test function's "signature" (which is
235
- the ``def test_something(blah, stuff, more): `` line).
236
-
237
231
When pytest goes to run a test, it looks at the parameters in that test
238
232
function's signature, and then searches for fixtures that have the same names as
239
233
those parameters. Once pytest finds them, it runs those fixtures, captures what
You can’t perform that action at this time.
0 commit comments