diff options
Diffstat (limited to 'tests/integration/bonds.py')
-rw-r--r-- | tests/integration/bonds.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/integration/bonds.py b/tests/integration/bonds.py index 763f7e5..cf853e6 100644 --- a/tests/integration/bonds.py +++ b/tests/integration/bonds.py @@ -301,7 +301,7 @@ class _CommonTests(): @unittest.skipIf("networkd" not in test_backends, - "skipping as networkd backend tests are disabled") + "skipping as networkd backend tests are disabled") class TestNetworkd(IntegrationTestsBase, _CommonTests): backend = 'networkd' @@ -315,14 +315,12 @@ class TestNetworkd(IntegrationTestsBase, _CommonTests): ethbn: match: name: %(ec)s - macaddress: %(ec_mac)s bonds: mybond: interfaces: [ethbn] macaddress: 00:01:02:03:04:05 dhcp4: yes''' % {'r': self.backend, - 'ec': self.dev_e_client, - 'ec_mac': self.dev_e_client_mac}) + 'ec': self.dev_e_client}) self.generate_and_settle([self.dev_e_client, self.state_dhcp4('mybond')]) self.assert_iface_up(self.dev_e_client, ['master mybond'], ['inet ']) self.assert_iface_up('mybond', ['inet 192.168.5.[0-9]+/24', '00:01:02:03:04:05']) @@ -509,7 +507,7 @@ class TestNetworkd(IntegrationTestsBase, _CommonTests): @unittest.skipIf("NetworkManager" not in test_backends, - "skipping as NetworkManager backend tests are disabled") + "skipping as NetworkManager backend tests are disabled") class TestNetworkManager(IntegrationTestsBase, _CommonTests): backend = 'NetworkManager' |