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 4d2a2b9 commit f4bc8fbCopy full SHA for f4bc8fb
tests/test_normal_execution_w_plugin.py
@@ -22,9 +22,10 @@ def test_execution_w_varying_dependencies_products(
22
import pytask
23
from pathlib import Path
24
25
- @pytask.mark.depends_on({dependencies})
26
- @pytask.mark.produces({products})
27
- def task_dummy(depends_on, produces):
+ def task_dummy(
+ depends_on=[Path(p) for p in {dependencies}],
+ produces=[Path(p) for p in {products}],
28
+ ):
29
if isinstance(produces, dict):
30
produces = produces.values()
31
elif isinstance(produces, Path):
0 commit comments