mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
Add 'PyTestReferenceAsStringProvider' for fixtures from pytest.mark.usefixtures attributes. Add new field 'myTextRange' to 'BaseReference' class. It's needed for specify the text range for proper highlighting. For example, to highlight text in a string without quotes. GitOrigin-RevId: 5b9094169b71dd57d9091d6907346ca69f631ef3
5 lines
112 B
Python
5 lines
112 B
Python
from another_fixture import some_fixture as sf
|
|
|
|
def test_fixture(s<caret>f):
|
|
assert sf == 'another_fixture'
|