[pytest-dev] Parametrizing dependent fixtures

Ronny Pfannschmidt rpfannsc at redhat.com
Mon Jan 8 08:36:05 EST 2018


Hi,

my understanding is, that the direct parametrization replaces the fixture
lookup for the involved tests,
which is not a planned "feature" per se, but still a neat tool to have

-- Ronny

2018-01-08 14:07 GMT+01:00 Bruno Oliveira <nicoddemus at gmail.com>:

> Hi Edgar,
>
> On Mon, Jan 8, 2018 at 10:32 AM Edgar Ostrowski <edgar.ostrowski at gmail.com>
> wrote:
>
>> Anyway I would like to confirm that this is valid way of using the
>> parametrize marker.
>>
>
> I did not look at the video yet, but fixture parametrization only works by
> using @pytest.fixture(params=...). Markers don't do anything when applying
> to fixtures.
>
> Hope that clarifies things!
>
> Cheers,
> Bruno.
>
> _______________________________________________
> pytest-dev mailing list
> pytest-dev at python.org
> https://mail.python.org/mailman/listinfo/pytest-dev
>
>


-- 

Red Hat GmbH, http://www.de.redhat.com/, Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Michael Cunningham, Michael
O'Neill, Eric Shander
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pytest-dev/attachments/20180108/7fd96802/attachment-0001.html>


More information about the pytest-dev mailing list