Файли
openidea/src-tauri/tests
LU XIANGRUIтаwildcatDownstairs 1880ac541c fix(python): fixture usages and rename follow pytest's files and Python's names (#6655)
Follow-up to #6520. Find Usages, Go to Declaration and Rename of a pytest fixture now search where pytest would look: the defining test module, the test files below a conftest.py, or the project's test files for a plugin or pytest_plugins module, with test files taken from python_files in the configuration file pytest reads. A fixture imported into a conftest or test module is that module's own. Rename merges the language server's rename of the fixture function, refuses names that clash with a parameter or body name, an override or another fixture in scope, and invalid identifiers, and reads of a parameter skip nested scopes that rebind it.

Co-authored-by: wildcatDownstairs <[email protected]>
2026-11-28 14:58:10 +08:00
..