I am using multiple fixtures inside a use fixture decorator as below:
@pytest.mark.usefixtures(fixture1, fixture2)
def test_me:
Fixtures file:
@pytest.fixture
def fixture1:
@pytest.fixture
def fixture2:
The problem is that I need these two fixtures to be triggered at a specific line in my code snippet, but these two fixtures triggers simultaneously.
How can this be achieved?