Skip to content

Commit

Permalink
Merge pull request #2893 from fmichea/patch-1
Browse files Browse the repository at this point in the history
Clarify language of proposal for fixtures parameters
  • Loading branch information
RonnyPfannschmidt authored Nov 4, 2017
2 parents cd747c4 + 22e9b00 commit 2e2f721
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
1 change: 1 addition & 0 deletions changelog/2893.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Clarify language of proposal for fixtures parameters
15 changes: 10 additions & 5 deletions doc/en/proposals/parametrize_with_fixtures.rst
Original file line number Diff line number Diff line change
@@ -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
-------
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2e2f721

Please sign in to comment.