Merge pull request #2893 from fmichea/patch-1

Clarify language of proposal for fixtures parameters
This commit is contained in:
Ronny Pfannschmidt 2017-11-04 08:08:48 +01:00 committed by GitHub
commit 2e2f72156a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 5 deletions

1
changelog/2893.doc Normal file
View File

@ -0,0 +1 @@
Clarify language of proposal for fixtures parameters

View File

@ -1,8 +1,13 @@
:orphan:
=========================
Parametrize with fixtures
=========================
===================================
PROPOSAL: Parametrize with fixtures
===================================
.. warning::
This document outlines a proposal around using fixtures as input
of parametrized tests or fixtures.
Problem
-------
@ -108,8 +113,8 @@ the following values.
Alternative approach
--------------------
A new helper function named ``fixture_request`` tells pytest to yield all
parameters of a fixture.
A new helper function named ``fixture_request`` would tell pytest to yield
all parameters marked as a fixture.
.. code-block:: python