summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests/test_distros/test_netconfig.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unittests/test_distros/test_netconfig.py b/tests/unittests/test_distros/test_netconfig.py
index b89b74ff..88370669 100644
--- a/tests/unittests/test_distros/test_netconfig.py
+++ b/tests/unittests/test_distros/test_netconfig.py
@@ -236,6 +236,9 @@ class TestNetCfgDistro(TestCase):
mock.patch.object(util, 'write_file', replace_write))
mocks.enter_context(
mock.patch.object(os.path, 'isfile', return_value=False))
+ mocks.enter_context(
+ mock.patch("cloudinit.net.eni.glob.glob",
+ return_value=[]))
ub_distro.apply_network_config(V1_NET_CFG, False)