← Back to team overview

sts-sponsors team mailing list archive

[Merge] ~ack/maas-ci/+git/system-tests:images-fixture-fix into ~maas-committers/maas-ci/+git/system-tests:master

 

Alberto Donato has proposed merging ~ack/maas-ci/+git/system-tests:images-fixture-fix into ~maas-committers/maas-ci/+git/system-tests:master.

Commit message:
fix images_to_text fixture



Requested reviews:
  MAAS Committers (maas-committers)

For more details, see:
https://code.launchpad.net/~ack/maas-ci/+git/system-tests/+merge/443643
-- 
Your team MAAS Committers is requested to review the proposed merge of ~ack/maas-ci/+git/system-tests:images-fixture-fix into ~maas-committers/maas-ci/+git/system-tests:master.
diff --git a/systemtests/conftest.py b/systemtests/conftest.py
index fa1724c..c441d8a 100644
--- a/systemtests/conftest.py
+++ b/systemtests/conftest.py
@@ -288,8 +288,8 @@ def hardware_sync_machine(
 
 
 @pytest.fixture(scope="module")
-def images_to_test(request: Any) -> Iterator[TestableImage]:
-    images: TestableImage = getattr(request, "param")
+def images_to_test(request: Any) -> Iterator[list[TestableImage]]:
+    images: list[TestableImage] = getattr(request, "param", [])
     yield images
 
 

Follow ups