discover_slow_test_files

Documentation for eth_defi.testing.slow_tests.discover_slow_test_files function.

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

collections.abc.Iterator[pathlib.Path]