testing.slow_tests
Documentation for eth_defi.testing.slow_tests Python module.
Discover slow-test modules without importing the complete test suite.
The main workflow validates discovery against pytest’s actual markers. A new indirectly marked module therefore fails loudly instead of falling out of CI.
Functions
|
Find modules containing a direct slow marker, in stable order. |
- discover_slow_test_files(root)
Find modules containing a direct slow marker, in stable order.
Include module-level and function-level markers without importing unrelated integration tests. Ignore GMX because its dedicated workflow owns that suite.
- Parameters
root (pathlib.Path) – Repository root containing the tests directory.
- Returns
Absolute paths to candidate modules; pytest still applies
-m slow.- Return type