I would insist in parametrizing the fixture. In your example this would amount to: @pytest.fixture(params=['foo', 'bar']) def name(request): ...
確定! 回上一頁