summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2023-04-17 07:05:44 +0200
committerThomas Haller <thaller@redhat.com>2023-05-12 12:42:55 +0200
commite56df68464cacc28553f515e1d2edcdfa690ead8 (patch)
tree52189fd3924a0bc7ea5ec66f0e31ba37810d8333
parent066720991386bb323a624cd55b2bcc41627593c2 (diff)
downloadNetworkManager-e56df68464cacc28553f515e1d2edcdfa690ead8.tar.gz
test-client: factor out the test device setup
We're going to reuse the setup for tests of other cloud providers.
-rwxr-xr-xsrc/tests/client/test-client.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tests/client/test-client.py b/src/tests/client/test-client.py
index f5989d49cd..a49317186a 100755
--- a/src/tests/client/test-client.py
+++ b/src/tests/client/test-client.py
@@ -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(