diff options
Diffstat (limited to 'tests/integration_tests/bugs/test_gh626.py')
-rw-r--r-- | tests/integration_tests/bugs/test_gh626.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/integration_tests/bugs/test_gh626.py b/tests/integration_tests/bugs/test_gh626.py index b80b677a..6df52d9c 100644 --- a/tests/integration_tests/bugs/test_gh626.py +++ b/tests/integration_tests/bugs/test_gh626.py @@ -9,6 +9,7 @@ import yaml from tests.integration_tests import random_mac_address from tests.integration_tests.instances import IntegrationInstance +from tests.integration_tests.integration_settings import PLATFORM MAC_ADDRESS = random_mac_address() NETWORK_CONFIG = """\ @@ -28,8 +29,10 @@ iface eth0 inet dhcp ethernet-wol g""" -@pytest.mark.lxd_container -@pytest.mark.lxd_vm +@pytest.mark.skipif( + PLATFORM not in ["lxd_container", "lxd_vm"], + reason="Test requires custom networking provided by LXD", +) @pytest.mark.lxd_config_dict( { "user.network-config": NETWORK_CONFIG, |