mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 11:53:49 +07:00
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
7 lines
170 B
Python
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(a, <caret>b):
|
|
assert (b - a) > 0
|