Clarify language of proposal for parametrized fixtures

This change slightly modifies the language of the proposal document around use of fixture as parameters of pytest.mark.parametrize. When looking for documentation around this, I very quickly scrolled through this document and landed on the last paragraph thinking it was documenting a real function. This change attempts to make it less likely for this to happen.
This commit is contained in:
Franck Michea 2017-11-03 22:13:47 +01:00 committed by GitHub
parent cd747c48a4
commit 802585cb66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 5 deletions

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