Files
openide/python/testData/testCompletion/test_rename_multiple_parametrization_first_param.py
Egor.Eliseev 78c09fe774 PY-59189 Renaming parametrized fixture argument does not rename literal
Add PyTestParametrizedContributor that handles renaming the test function parameter and renames the decorator's `@pytest.mark.parametrize` argument

Merge-request: IJ-MR-108848
Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com>

GitOrigin-RevId: e544298036603462379adcf7a452e65c22e002f6
2023-09-01 15:20:55 +00:00

7 lines
170 B
Python

import pytest
@pytest.mark.parametrize("a", [1, 3, 4, 5, 6, 7])
@pytest.mark.parametrize("b", [2, 6, 8, 10, 12, 14])
def test_exmpl(<caret>a, b):
assert (b - a) > 0