Skip to content

🐛 Fix no run for artifact and tag fetch tests #796

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 1 commit into from
May 16, 2025
Merged
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
4 changes: 2 additions & 2 deletions tests/unit/test_fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def test_alerts_fetch(sort_column: str | None, sort_descending: bool | None) ->
],
ids=("name-desc", "created-asc", "no-sorting")
)
def test_artifacts_fetch(sort_column: str | None, sort_descending: bool | None) -> None:
def test_artifacts_fetch(create_test_run, sort_column: str | None, sort_descending: bool | None) -> None:
if sort_column:
assert dict(Artifact.get(sorting=[{"column": sort_column, "descending": sort_descending}], count=10))
else:
Expand All @@ -50,7 +50,7 @@ def test_artifacts_fetch(sort_column: str | None, sort_descending: bool | None)
],
ids=("name-desc", "created-asc", "no-sorting")
)
def test_tags_fetch(sort_column: str | None, sort_descending: bool | None) -> None:
def test_tags_fetch(create_test_run, sort_column: str | None, sort_descending: bool | None) -> None:
if sort_column:
assert dict(Tag.get(sorting=[{"column": sort_column, "descending": sort_descending}], count=10))
else:
Expand Down
Loading