summaryrefslogtreecommitdiff
path: root/tests/unittests/test_datasource/test_openstack.py
diff options
context:
space:
mode:
authorMoustafa Moustafa <momousta@microsoft.com>2020-06-19 06:38:05 -0700
committerGitHub <noreply@github.com>2020-06-19 09:38:05 -0400
commitd083a0315faf67c00acdecdc3f95c700edf6ba06 (patch)
treeff1e36ac43a80040eca5ff0ce25e6dfc90a7c79c /tests/unittests/test_datasource/test_openstack.py
parent615fe62c0927e68349a1cd602c169eb699684f50 (diff)
downloadvyos-cloud-init-d083a0315faf67c00acdecdc3f95c700edf6ba06.tar.gz
vyos-cloud-init-d083a0315faf67c00acdecdc3f95c700edf6ba06.zip
printing the error stream of the dhclient process before killing it (#369)
This introduces a way to log the dhclient error stream, and uses it for the Azure datasource (where we have a specific requirement for this data to be logged).
Diffstat (limited to 'tests/unittests/test_datasource/test_openstack.py')
-rw-r--r--tests/unittests/test_datasource/test_openstack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittests/test_datasource/test_openstack.py b/tests/unittests/test_datasource/test_openstack.py
index b534457c..3cfba74d 100644
--- a/tests/unittests/test_datasource/test_openstack.py
+++ b/tests/unittests/test_datasource/test_openstack.py
@@ -279,7 +279,7 @@ class TestOpenStackDataSource(test_helpers.HttprettyTestCase):
self.assertEqual(2, len(ds_os_local.files))
self.assertEqual(VENDOR_DATA, ds_os_local.vendordata_pure)
self.assertIsNone(ds_os_local.vendordata_raw)
- m_dhcp.assert_called_with('eth9')
+ m_dhcp.assert_called_with('eth9', None)
def test_bad_datasource_meta(self):
os_files = copy.deepcopy(OS_FILES)