diff options
Diffstat (limited to 'tests/integration_tests/bugs')
-rw-r--r-- | tests/integration_tests/bugs/test_gh626.py | 3 | ||||
-rw-r--r-- | tests/integration_tests/bugs/test_gh668.py | 3 | ||||
-rw-r--r-- | tests/integration_tests/bugs/test_lp1898997.py | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/tests/integration_tests/bugs/test_gh626.py b/tests/integration_tests/bugs/test_gh626.py index 7b0df6eb..dba01b34 100644 --- a/tests/integration_tests/bugs/test_gh626.py +++ b/tests/integration_tests/bugs/test_gh626.py @@ -7,11 +7,12 @@ in the /etc/network/interfaces or netplan config. import pytest import yaml +from tests.integration_tests import random_mac_address from tests.integration_tests.clouds import ImageSpecification from tests.integration_tests.instances import IntegrationInstance -MAC_ADDRESS = "de:ad:be:ef:12:34" +MAC_ADDRESS = random_mac_address() NETWORK_CONFIG = """\ version: 2 ethernets: diff --git a/tests/integration_tests/bugs/test_gh668.py b/tests/integration_tests/bugs/test_gh668.py index 66ee302e..72fe0afc 100644 --- a/tests/integration_tests/bugs/test_gh668.py +++ b/tests/integration_tests/bugs/test_gh668.py @@ -7,12 +7,13 @@ for all network configuration outputs. import pytest +from tests.integration_tests import random_mac_address from tests.integration_tests.instances import IntegrationInstance DESTINATION_IP = "172.16.0.10" GATEWAY_IP = "10.0.0.100" -MAC_ADDRESS = "de:ad:be:ef:12:34" +MAC_ADDRESS = random_mac_address() NETWORK_CONFIG = """\ version: 2 diff --git a/tests/integration_tests/bugs/test_lp1898997.py b/tests/integration_tests/bugs/test_lp1898997.py index 54c88d82..90dc17da 100644 --- a/tests/integration_tests/bugs/test_lp1898997.py +++ b/tests/integration_tests/bugs/test_lp1898997.py @@ -10,8 +10,9 @@ network configuration, and confirms that the bridge can be used to ping the default gateway. """ import pytest +from tests.integration_tests import random_mac_address -MAC_ADDRESS = "de:ad:be:ef:12:34" +MAC_ADDRESS = random_mac_address() NETWORK_CONFIG = """\ |