From a69f10e346f450ba3d67956a972ff431686e1aae Mon Sep 17 00:00:00 2001 From: Miguel Caballer Date: Wed, 14 Feb 2024 09:28:57 +0100 Subject: [PATCH] Fix ONE incorrect ip in test --- test/unit/connectors/OpenNebula.py | 2 +- test/unit/connectors/files/vm_info.xml | 2 +- test/unit/connectors/files/vm_info_off.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/unit/connectors/OpenNebula.py b/test/unit/connectors/OpenNebula.py index e6e51b585..9c8976516 100755 --- a/test/unit/connectors/OpenNebula.py +++ b/test/unit/connectors/OpenNebula.py @@ -190,7 +190,7 @@ def test_30_updateVMInfo(self, server_proxy): server_proxy.return_value = one_server success, vm = one_cloud.updateVMInfo(vm, auth) - self.assertEqual(vm.info.systems[0].getValue("net_interface.1.ip"), "10.0.0.01") + self.assertEqual(vm.info.systems[0].getValue("net_interface.1.ip"), "10.0.0.1") self.assertEqual(vm.info.systems[0].getValue("net_interface.0.ip"), "158.42.1.1") self.assertTrue(success, msg="ERROR: updating VM info.") diff --git a/test/unit/connectors/files/vm_info.xml b/test/unit/connectors/files/vm_info.xml index b594fbbb4..f232a6308 100644 --- a/test/unit/connectors/files/vm_info.xml +++ b/test/unit/connectors/files/vm_info.xml @@ -68,7 +68,7 @@ - + diff --git a/test/unit/connectors/files/vm_info_off.xml b/test/unit/connectors/files/vm_info_off.xml index 1727c2c07..2a3af7b51 100644 --- a/test/unit/connectors/files/vm_info_off.xml +++ b/test/unit/connectors/files/vm_info_off.xml @@ -68,7 +68,7 @@ - +