8383from bci_tester .data import POSTGRESQL_CONTAINERS
8484from bci_tester .data import PROMETHEUS_CONTAINERS
8585from bci_tester .data import PYTHON_CONTAINERS
86+ from bci_tester .data import PYTORCH_CONTAINER
8687from bci_tester .data import RUBY_CONTAINERS
8788from bci_tester .data import RUST_CONTAINERS
8889from bci_tester .data import SAC_PYTHON_CONTAINERS
101102 reason = "no supportlevel labels on openSUSE containers" ,
102103)
103104
105+ SKIP_IF_AI_MARK = pytest .mark .skipif (
106+ OS_VERSION == "15.6-ai" , reason = "no supportlevel labels on AI containers"
107+ )
108+
104109
105110def _get_container_label_prefix (
106111 container_name : str , container_type : ImageType
@@ -277,6 +282,7 @@ def _get_container_label_prefix(
277282 (OLLAMA_CONTAINER , "ollama" , ImageType .SAC_APPLICATION ),
278283 (OPENWEBUI_CONTAINER , "open-webui" , ImageType .SAC_APPLICATION ),
279284 (MILVUS_CONTAINER , "milvus" , ImageType .SAC_APPLICATION ),
285+ (PYTORCH_CONTAINER , "pytorch" , ImageType .SAC_APPLICATION ),
280286 ]
281287 + [(STUNNEL_CONTAINER , "stunnel" , ImageType .APPLICATION )]
282288 + [
@@ -516,6 +522,7 @@ def test_disturl_can_be_checked_out(
516522
517523
518524@SKIP_IF_TW_MARK
525+ @SKIP_IF_AI_MARK
519526@pytest .mark .parametrize (
520527 "container" ,
521528 [
@@ -552,6 +559,7 @@ def test_techpreview_label(container: ContainerData):
552559
553560
554561@SKIP_IF_TW_MARK
562+ @SKIP_IF_AI_MARK
555563@pytest .mark .parametrize (
556564 "container" ,
557565 list (ACC_CONTAINERS ),
@@ -568,6 +576,7 @@ def test_acc_label(container: ContainerData):
568576
569577
570578@SKIP_IF_TW_MARK
579+ @SKIP_IF_AI_MARK
571580@pytest .mark .parametrize ("container" , L3_CONTAINERS , indirect = True )
572581def test_l3_label (container : ContainerData ):
573582 """Check that containers under L3 support have the label
0 commit comments