Skip to content

Commit f287bb2

Browse files
authored
Merge pull request #965 from SUSE/fix_SPR1.1
Fixing tests for 15.7-spr
2 parents 28978fa + 7da3936 commit f287bb2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tests/test_all.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ def test_systemd_not_installed_in_all_containers_except_init(container):
487487

488488

489489
@pytest.mark.skipif(
490-
OS_VERSION in ("15.3", "15.4", "15.5", "15.6-spr"),
490+
OS_VERSION in ("15.3", "15.4", "15.5", "15.6-spr", "15.7-spr"),
491491
reason="doesn't have the fixes for blkid/udev",
492492
)
493493
@pytest.mark.parametrize(

tests/test_metadata.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ def test_general_labels(
438438
or "based on the SLE LTSS Base Container Image"
439439
in labels[f"{prefix}.description"]
440440
)
441-
elif OS_VERSION in ("15.6-spr",):
441+
elif OS_VERSION in ("15.7-spr",):
442442
assert (
443443
"for SUSE Private Registry"
444444
in labels[f"{prefix}.description"]
@@ -617,7 +617,7 @@ def test_support_end_in_future(
617617

618618

619619
@pytest.mark.skipif(
620-
OS_VERSION == "15.6-spr",
620+
OS_VERSION == "15.7-spr",
621621
reason="SPR publishes out of the devel project",
622622
)
623623
@pytest.mark.skipif(
@@ -663,8 +663,8 @@ def test_disturl(
663663
)
664664
elif OS_VERSION == "15.6-ai" and TARGET in ("ibs", "obs"):
665665
assert "obs://build.suse.de/Devel:AI" in disturl
666-
elif OS_VERSION == "15.6-spr" and TARGET in ("ibs", "obs"):
667-
assert "obs://build.suse.de/Devel:SCC:PrivateRegistry" in disturl
666+
elif OS_VERSION == "15.7-spr" and TARGET in ("ibs", "obs"):
667+
assert "obs://build.suse.de/Devel:SCC:PrivateRegistry:1.1" in disturl
668668
elif OS_VERSION == "16.0-pc2025":
669669
assert (
670670
"obs://build.suse.de/SUSE:SLFO:Products:PublicCloud:Toolchain:2025"
@@ -836,7 +836,7 @@ def test_reference(
836836
assert reference.startswith("registry.opensuse.org/opensuse/")
837837
else:
838838
assert reference.startswith("registry.opensuse.org/opensuse/bci/")
839-
elif OS_VERSION in ("15.6-spr",):
839+
elif OS_VERSION in ("15.7-spr",):
840840
assert reference.startswith("registry.suse.com/private-registry/")
841841
else:
842842
if container_type in (

0 commit comments

Comments
 (0)