summaryrefslogtreecommitdiffstats
path: root/library/python/pytest/main.py
Commit message (Collapse)AuthorAgeFilesLines
* feat pytest: clean up CONFTEST_LOAD_POLICY_LOCAL implementationantonyzhilin2026-03-181-32/+2
| | | | | | | | | * 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-0/+2
| | | | | | | | | | 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-061-0/+6
| | | | commit_hash:525c32eb93ddaea7b409248280f0871fb5fd788d
* Intermediate changesrobot-piglet2026-02-051-1/+1
| | | | commit_hash:e6d634bd59f23a5fa99d8c54932926f775dab895
* Intermediate changesrobot-piglet2024-09-041-0/+4
|
* Fix some style issues in library/python/pytestthegeorg2023-08-241-7/+18
| | | | | | | | Two issues remain unfixed: ``` [fail] library/python/pytest/rewrite.py:96: [PLW0122] Use of exec (exec-used) [fail] library/python/pytest/yatest_tools.py:49: [F821] undefined name 'unicode' ```
* DEVTOOLS-9500 [library/python/pytest] Generate call graph if ↵Aleksandr2022-06-011-0/+25
| | | | | | --profile-pytest is specified ref:b1b93724ca5ccf2a420b7dd063764bc8eed4f3e4
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.razmser2022-02-101-1/+1
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.razmser2022-02-101-1/+1
|
* Restoring authorship annotation for Dmitry Kopylov <[email protected]>. ↵Dmitry Kopylov2022-02-101-19/+19
| | | | Commit 2 of 2.
* Restoring authorship annotation for Dmitry Kopylov <[email protected]>. ↵Dmitry Kopylov2022-02-101-19/+19
| | | | Commit 1 of 2.
* Restoring authorship annotation for Aleksandr <[email protected]>. Commit ↵Aleksandr2022-02-101-48/+48
| | | | 2 of 2.
* Restoring authorship annotation for Aleksandr <[email protected]>. Commit ↵Aleksandr2022-02-101-48/+48
| | | | 1 of 2.
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.deshevoy2022-02-101-19/+19
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.deshevoy2022-02-101-19/+19
|
* Restoring authorship annotation for exprmntr <[email protected]>. ↵exprmntr2022-02-101-5/+5
| | | | Commit 2 of 2.
* Restoring authorship annotation for exprmntr <[email protected]>. ↵exprmntr2022-02-101-5/+5
| | | | Commit 1 of 2.
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.iaz16072022-02-101-4/+4
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.iaz16072022-02-101-4/+4
|
* Restoring authorship annotation for Anton Samokhvalov <[email protected]>. ↵Anton Samokhvalov2022-02-101-20/+20
| | | | Commit 2 of 2.
* Restoring authorship annotation for Anton Samokhvalov <[email protected]>. ↵Anton Samokhvalov2022-02-101-20/+20
| | | | Commit 1 of 2.
* intermediate changesDevtools Arcadia2022-02-071-0/+116
ref:cde9a383711a11544ce7e107a78147fb96cc4029