Skip to content

Update tests for the upcoming v0.5 release. #36

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ releases are available on [PyPI](https://pypi.org/project/pytask-julia) and
- {pull}`31` uses pixi to provision Julia if possible.
- {pull}`32` uses trusted publishing for PyPI.
- {pull}`33` uses uuid4 to generate more robust file names for serialized arguments.
- {pull}`36` updates tests for pytask v0.5.

## 0.4.0 - 2023-10-08

Expand Down
7 changes: 4 additions & 3 deletions tests/test_normal_execution_w_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ def test_execution_w_varying_dependencies_products(
import pytask
from pathlib import Path

@pytask.mark.depends_on({dependencies})
@pytask.mark.produces({products})
def task_dummy(depends_on, produces):
def task_dummy(
depends_on=[Path(p) for p in {dependencies}],
produces=[Path(p) for p in {products}],
):
if isinstance(produces, dict):
produces = produces.values()
elif isinstance(produces, Path):
Expand Down
Loading