Skip to content

Commit 25f336b

Browse files
authored
Update tests for the upcoming v0.5 release. (#36)
1 parent 4d2a2b9 commit 25f336b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ releases are available on [PyPI](https://pypi.org/project/pytask-julia) and
1010
- {pull}`31` uses pixi to provision Julia if possible.
1111
- {pull}`32` uses trusted publishing for PyPI.
1212
- {pull}`33` uses uuid4 to generate more robust file names for serialized arguments.
13+
- {pull}`36` updates tests for pytask v0.5.
1314

1415
## 0.4.0 - 2023-10-08
1516

tests/test_normal_execution_w_plugin.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ def test_execution_w_varying_dependencies_products(
2222
import pytask
2323
from pathlib import Path
2424
25-
@pytask.mark.depends_on({dependencies})
26-
@pytask.mark.produces({products})
27-
def task_dummy(depends_on, produces):
25+
def task_dummy(
26+
depends_on=[Path(p) for p in {dependencies}],
27+
produces=[Path(p) for p in {products}],
28+
):
2829
if isinstance(produces, dict):
2930
produces = produces.values()
3031
elif isinstance(produces, Path):

0 commit comments

Comments
 (0)