summaryrefslogtreecommitdiff
path: root/tests/integration_tests/modules/test_ubuntu_autoinstall.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration_tests/modules/test_ubuntu_autoinstall.py')
-rw-r--r--tests/integration_tests/modules/test_ubuntu_autoinstall.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/integration_tests/modules/test_ubuntu_autoinstall.py b/tests/integration_tests/modules/test_ubuntu_autoinstall.py
index d340afc5..ad077977 100644
--- a/tests/integration_tests/modules/test_ubuntu_autoinstall.py
+++ b/tests/integration_tests/modules/test_ubuntu_autoinstall.py
@@ -2,6 +2,8 @@
import pytest
+from tests.integration_tests.releases import IS_UBUNTU
+
USER_DATA = """\
#cloud-config
autoinstall:
@@ -16,7 +18,7 @@ snap:
LOG_MSG = "Valid autoinstall schema. Config will be processed by subiquity"
-@pytest.mark.ubuntu
+@pytest.mark.skipif(not IS_UBUNTU, reason="Test is Ubuntu specific")
@pytest.mark.user_data(USER_DATA)
class TestUbuntuAutoinstall:
def test_autoinstall_schema_valid_when_snap_present(self, class_client):