From 9b0111f3d0dc819995467370e75dc29308ddc717 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20Zar=C4=99bski?= Date: Fri, 16 May 2025 14:00:52 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20no=20run=20for=20artifact?= =?UTF-8?q?=20and=20tag=20fetch=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Addes required fixture for artifact and tag fetch tests --- tests/unit/test_fetch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/test_fetch.py b/tests/unit/test_fetch.py index f8779b6d..eb365e24 100644 --- a/tests/unit/test_fetch.py +++ b/tests/unit/test_fetch.py @@ -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: @@ -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: