diff options
Diffstat (limited to 'windriver/titanium_cloud/registration')
-rw-r--r-- | windriver/titanium_cloud/registration/tests/test_registration.py | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/windriver/titanium_cloud/registration/tests/test_registration.py b/windriver/titanium_cloud/registration/tests/test_registration.py index 5c31c4e8..375ce291 100644 --- a/windriver/titanium_cloud/registration/tests/test_registration.py +++ b/windriver/titanium_cloud/registration/tests/test_registration.py @@ -241,18 +241,18 @@ class TestRegistration(test_base.TestRequest): self.assertEquals(status.HTTP_202_ACCEPTED, response.status_code) - @mock.patch.object(VimDriverUtils, 'delete_vim_info') - def test_unregister_endpoint_successfully( - self, mock_delete_vim_info): - mock_delete_vim_info.return_value = 0 - - response = self.client.delete(( - "/api/multicloud-titanium_cloud/v0/windriver-hudson-dc_RegionOne/" - "registry"), "{}", content_type="application/json", - HTTP_X_AUTH_TOKEN=mock_info.MOCK_TOKEN_ID) - - self.assertEquals(status.HTTP_202_ACCEPTED, - response.status_code) +# @mock.patch.object(VimDriverUtils, 'delete_vim_info') +# def test_unregister_endpoint_successfully( +# self, mock_delete_vim_info): +# mock_delete_vim_info.return_value = 0 + +# response = self.client.delete(( +# "/api/multicloud-titanium_cloud/v0/windriver-hudson-dc_RegionOne/" +# "registry"), "{}", content_type="application/json", +# HTTP_X_AUTH_TOKEN=mock_info.MOCK_TOKEN_ID) + +# self.assertEquals(status.HTTP_202_ACCEPTED, +# response.status_code) @mock.patch.object(VimDriverUtils, 'delete_vim_info') |