diff --git a/tests/integration/ethernets.py b/tests/integration/ethernets.py index eaf005e3f..5c02efaae 100644 --- a/tests/integration/ethernets.py +++ b/tests/integration/ethernets.py @@ -346,7 +346,7 @@ def test_link_local_ipv4(self): # TODO: implement link-local handling in NetworkManager backend and move this test into CommonTests() def test_link_local_ipv6(self): - self.setup_eth(None) + self.setup_eth('ra-only') with open(self.config, 'w') as f: f.write('''network: renderer: %(r)s diff --git a/tests/integration/scenarios.py b/tests/integration/scenarios.py index e3a1ea886..34e7cfb98 100644 --- a/tests/integration/scenarios.py +++ b/tests/integration/scenarios.py @@ -35,7 +35,7 @@ class _CommonTests(): def test_mix_bridge_on_bond(self): - self.setup_eth(None) + self.setup_eth('ra-only') self.addCleanup(subprocess.call, ['ip', 'link', 'delete', 'bond0'], stderr=subprocess.DEVNULL) self.addCleanup(subprocess.call, ['ip', 'link', 'delete', 'br0'], stderr=subprocess.DEVNULL) with open(self.config, 'w') as f: @@ -65,7 +65,7 @@ def test_mix_bridge_on_bond(self): self.assertIn(self.dev_e2_client, result) def test_mix_vlan_on_bridge_on_bond(self): - self.setup_eth(None, False) + self.setup_eth('ra-only') self.addCleanup(subprocess.call, ['ip', 'link', 'delete', 'bond0'], stderr=subprocess.DEVNULL) self.addCleanup(subprocess.call, ['ip', 'link', 'delete', 'br0'], stderr=subprocess.DEVNULL) self.addCleanup(subprocess.call, ['ip', 'link', 'delete', 'br1'], stderr=subprocess.DEVNULL) diff --git a/tests/integration/vlans.py b/tests/integration/vlans.py index c8dce7ce3..c399813d3 100644 --- a/tests/integration/vlans.py +++ b/tests/integration/vlans.py @@ -68,7 +68,7 @@ def test_vlan(self): subprocess.check_output(['ip', 'route', 'show', 'dev', 'nptesttwo'])) def test_vlan_mac_address(self): - self.setup_eth(None) + self.setup_eth('ra-only') self.addCleanup(subprocess.call, ['ip', 'link', 'delete', 'myvlan'], stderr=subprocess.DEVNULL) with open(self.config, 'w') as f: f.write('''network: