diff options
Diffstat (limited to 'tests/integration_tests/datasources/test_tmp_noexec.py')
-rw-r--r-- | tests/integration_tests/datasources/test_tmp_noexec.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/integration_tests/datasources/test_tmp_noexec.py b/tests/integration_tests/datasources/test_tmp_noexec.py index a060e20f..5aa8537d 100644 --- a/tests/integration_tests/datasources/test_tmp_noexec.py +++ b/tests/integration_tests/datasources/test_tmp_noexec.py @@ -1,6 +1,7 @@ import pytest from tests.integration_tests.instances import IntegrationInstance +from tests.integration_tests.integration_settings import PLATFORM from tests.integration_tests.util import verify_clean_log @@ -14,11 +15,10 @@ def customize_client(client: IntegrationInstance): @pytest.mark.adhoc -@pytest.mark.azure -@pytest.mark.ec2 -@pytest.mark.gce -@pytest.mark.oci -@pytest.mark.openstack +@pytest.mark.skipif( + PLATFORM not in ["azure", "ec2", "gce", "oci", "openstack"], + reason=f"Test hasn't been tested on {PLATFORM}", +) def test_dhcp_tmp_noexec(client: IntegrationInstance): customize_client(client) assert ( |