reviewbot.testing.utils¶
Utility functions for unit tests.
New in version 3.0.
Functions
|
Return the path to a unit test dependency. |
- get_test_dep_path(filename)[source]¶
Return the path to a unit test dependency.
This will be a path inside the
tests/deps/
directory in the tree.New in version 3.0.
- Parameters:
filename (
str
) – The name of the file relative to the directory.- Returns:
The path to the dependency file.
- Return type:
str