> For the fixtures, I often need to do something like: > > @pytest.fixture(params=['one', 'two']) > def fixt(request): > # ... > return request.param > > I just wonder if there's a slightly cleaner way of doing this kind of > thing. Maybe there isn't. Haven't given it much thought yet.
I would like if @pytest.mark.parametrize works with fixtures. Regards, Florian Schulze _______________________________________________ pytest-dev mailing list pytest-dev@python.org https://mail.python.org/mailman/listinfo/pytest-dev