How to concatenate several parametrized fixtures into a new fixture in py.test?
问题 If I have two parametrized fixtures, how can I create a single test function that is called first with the instances of one fixture and then with the instances of the other fixture? I guess it would make sense to create a new fixture that somehow concatenates the two existing fixtures. This works well for "normal" fixtures, but I don't seem to get it to work with parametrized fixtures. Here is a simplified example of what I tried: import pytest @pytest.fixture(params=[1, 2, 3]) def lower