Imagine I have the following fixture: ```python @pytest.fixture(scope='function') def gitlab_merge_request(mimesis): return { 'user': { 'username': mimesis('username'), }, 'object_attributes': { 'id': mimesis('between', minimum=1), 'state': 'opened' }, } ``` What I want to achieve is something like: ```python import pytest @pytest.mark.parametrize( 'gitlab_merge_request__object_attributes__state', ['closed'], ) def test_is_closed(gitlab_merge_request): assert gitlab_merge_request['object_attributes']['state'] == 'closed' ``` We can use https://docs.pytest.org/en/latest/fixture.html#override-a-fixture-with-direct-test-parametrization
Imagine I have the following fixture:
What I want to achieve is something like:
We can use https://docs.pytest.org/en/latest/fixture.html#override-a-fixture-with-direct-test-parametrization