From c14dbfa86dc1785606c15f6503949d63ca563c81 Mon Sep 17 00:00:00 2001 From: Jim Rollenhagen Date: Fri, 10 Feb 2017 19:57:42 +0000 Subject: Fix unit tests with UcsSdk installed An instance of UcsOperationError was being instantiated with an invalid argument, just remove it. Change-Id: Ib71e8dd37713c7649712b43f62e3c512933d55b7 --- ironic/tests/unit/drivers/modules/ucs/test_management.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ironic/tests/unit/drivers/modules/ucs/test_management.py b/ironic/tests/unit/drivers/modules/ucs/test_management.py index 263663aa2..f1ed1bbee 100644 --- a/ironic/tests/unit/drivers/modules/ucs/test_management.py +++ b/ironic/tests/unit/drivers/modules/ucs/test_management.py @@ -90,7 +90,6 @@ class UcsManagementTestCase(db_base.DbTestCase): side_effect = ucs_error.UcsOperationError( operation='getting boot device', error='failed', - node=self.node.uuid ) mock_mgmt.get_boot_device.side_effect = side_effect with task_manager.acquire(self.context, self.node.uuid, -- cgit v1.2.1