We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67715e6 commit daafee5Copy full SHA for daafee5
tests/test_console.py
@@ -153,7 +153,7 @@ def test_format_task_id(
153
PathNode.from_path(_ROOT.joinpath("src/module.py")),
154
[_ROOT.joinpath("alternative_src")],
155
does_not_raise(),
156
- Text("pytask/src/module.py"),
+ Text(f"{_ROOT.name}/src/module.py"),
157
id="Common path found for PathNode not in 'paths' and 'paths'",
158
),
159
pytest.param(
@@ -174,7 +174,7 @@ def test_format_task_id(
174
PythonNode(name=_ROOT.as_posix() + "/task_a.py::task_a::a", value=None),
175
[_ROOT],
176
177
- Text("pytask/task_a.py::task_a::a"),
+ Text(f"{_ROOT.name}/task_a.py::task_a::a"),
178
id="PythonNode with automatically assigned name",
179
180
],
0 commit comments