mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-04 09:30:31 +01:00
test-client: factor out the test device setup
We're going to reuse the setup for tests of other cloud providers.
This commit is contained in:
parent
0667209913
commit
e56df68464
1 changed files with 1 additions and 3 deletions
|
|
@ -2197,9 +2197,7 @@ class TestNmCloudSetup(TestNmClient):
|
|||
|
||||
return f
|
||||
|
||||
@cloud_setup_test
|
||||
def test_ec2(self):
|
||||
|
||||
def _mock_devices(self):
|
||||
# Add a device with an active connection that has IPv4 configured
|
||||
self.srv.op_AddObj("WiredDevice", iface="eth0", mac="9e:c0:3e:92:24:2d")
|
||||
self.srv.addAndActivateConnection(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue