From d115bdee5dbe243774a1cac173610dc15f4927f5 Mon Sep 17 00:00:00 2001 From: Shih-Hao Li Date: Mon, 18 Apr 2016 12:24:36 -0700 Subject: [PATCH] Fix a typo in nsx_v3 update_resource mocked call Change-Id: I030066b9651b7c85a4d5a0de8b120fca68ab2d59 --- vmware_nsx/tests/unit/nsxlib/v3/nsxlib_testcase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vmware_nsx/tests/unit/nsxlib/v3/nsxlib_testcase.py b/vmware_nsx/tests/unit/nsxlib/v3/nsxlib_testcase.py index bc15e52f9d..e458aa0072 100644 --- a/vmware_nsx/tests/unit/nsxlib/v3/nsxlib_testcase.py +++ b/vmware_nsx/tests/unit/nsxlib/v3/nsxlib_testcase.py @@ -103,7 +103,7 @@ class NsxClientTestCase(NsxLibTestCase): resource, client=self._client) def update_resource(self, resource, data): - return nsx_client.create_resource( + return nsx_client.update_resource( resource, data, client=self._client) class MockNSXClusteredAPI(nsx_cluster.NSXClusteredAPI):