summaryrefslogtreecommitdiffstats
path: root/library/python/pytest/plugins/collection.py
Commit message (Collapse)AuthorAgeFilesLines
* feat pytest: clean up CONFTEST_LOAD_POLICY_LOCAL implementationantonyzhilin2026-03-181-58/+90
| | | | | | | | | * Add docs for `CONFTEST_LOAD_POLICY_LOCAL` and `CONFTEST_LOAD_POLICY_LEGACY_GLOBAL` * Use `ya_` prefixes for custom fields of `LoadedModule` to differentiate from fields used by pytest * Clean up `LoadedModule.__init__` parameters * Move resfs modules lookup from `main.py` to `collection.py` to gather module name lookup and loading in the same place * Turn `collection.py` into a plugin instead of using a class plugin. As a benefit, it is now displayed as `library.python.pytest.plugins.collection` in the plugin list (previously it was displayed as `<unnamed plugin>`) commit_hash:be61134f075fbc9b645cc98635ab33fe7bf8a979
* feat pytest: partially enable behavior of CONFTEST_LOAD_POLICY_LOCAL for ↵antonyzhilin2026-03-171-28/+26
| | | | | | | | | | all tests 1. `module_node.path` (py3) or `fspath` (py2) are now always in the form `yatest.common.source_path("path/from/repo/root/to/my_test.py")` instead of the previous `partial.path.to.my_test.py` 2. `module_node.nodeid` is now always in the form `path/from/repo/root/to/my_test.py` instead of the previous `partial.path.to.my_test.py` 3. `module_node.name` was also changed to `path/from/repo/root/to/my_test.py`. But it is not recommended to specialize on that, it may change again shortly in the future 4. Refactorings, simplifications and unifications in `library/python/pytest` commit_hash:8a5b4951208a034f94231b2f799eb0c32a6d787d
* Intermediate changesrobot-piglet2026-02-211-2/+23
| | | | commit_hash:54f16047733a82cb580800a174cf6bebdac05da4
* Intermediate changesrobot-piglet2026-02-051-68/+100
| | | | commit_hash:e6d634bd59f23a5fa99d8c54932926f775dab895
* Intermediate changesrobot-piglet2025-05-051-1/+9
| | | | commit_hash:8b3bb826b17db8329ed1221f545c0645f12c552d
* Intermediate changesrobot-piglet2025-04-251-1/+3
| | | | commit_hash:4d256df3cba483ed480b07058d40dc2771082b86
* Intermediate changesrobot-piglet2024-12-111-5/+17
| | | | commit_hash:a633306b66f89adbf188bf9c6d521bdf7b01f82f
* Fix pytest -kiaz16072023-02-221-0/+1
|
* fix flaky testseivanov892022-07-121-3/+10
|
* Restoring authorship annotation for Dmitry Kopylov <[email protected]>. ↵Dmitry Kopylov2022-02-101-35/+35
| | | | Commit 2 of 2.
* Restoring authorship annotation for Dmitry Kopylov <[email protected]>. ↵Dmitry Kopylov2022-02-101-35/+35
| | | | Commit 1 of 2.
* Restoring authorship annotation for Aleksandr <[email protected]>. Commit ↵Aleksandr2022-02-101-1/+1
| | | | 2 of 2.
* Restoring authorship annotation for Aleksandr <[email protected]>. Commit ↵Aleksandr2022-02-101-1/+1
| | | | 1 of 2.
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.sobols2022-02-101-2/+2
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.sobols2022-02-101-2/+2
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.deshevoy2022-02-101-10/+10
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.deshevoy2022-02-101-10/+10
|
* Restoring authorship annotation for exprmntr <[email protected]>. ↵exprmntr2022-02-101-2/+2
| | | | Commit 2 of 2.
* Restoring authorship annotation for exprmntr <[email protected]>. ↵exprmntr2022-02-101-2/+2
| | | | Commit 1 of 2.
* Restoring authorship annotation for <[email protected]>. Commit 2 ↵danila-eremin2022-02-101-34/+34
| | | | of 2.
* Restoring authorship annotation for <[email protected]>. Commit 1 ↵danila-eremin2022-02-101-34/+34
| | | | of 2.
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.krock212022-02-101-12/+12
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.krock212022-02-101-12/+12
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.prime2022-02-101-6/+6
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.prime2022-02-101-6/+6
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.iaz16072022-02-101-21/+21
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.iaz16072022-02-101-21/+21
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.orivej2022-02-101-1/+1
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.orivej2022-02-101-1/+1
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.shadchin2022-02-101-4/+4
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.shadchin2022-02-101-4/+4
|
* intermediate changesDevtools Arcadia2022-02-071-0/+128
ref:cde9a383711a11544ce7e107a78147fb96cc4029