diff options
author | Ethan Lynn <ethanlynnl@vmware.com> | 2018-03-27 08:08:49 -0700 |
---|---|---|
committer | Ethan Lynn <ethanlynnl@vmware.com> | 2018-03-27 08:08:49 -0700 |
commit | dd1290c47bc01c24b7a30ca5d7de0df266be6c72 (patch) | |
tree | 6f1d3e76db7aee55c33618c46d032eb221c7981e | |
parent | 6cdb4cde699c5fea625d9da7786aa4d9d64199f3 (diff) |
Add test_delete for identityserver
add test_delete
Change-Id: I5b6dbb6f92cf61f7028769017ce10bdec9ac3a0f
Issue-ID: MULTICLOUD-199
Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
-rw-r--r-- | vio/vio/tests/test_proxy_identity_view.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vio/vio/tests/test_proxy_identity_view.py b/vio/vio/tests/test_proxy_identity_view.py index f79354a..724fd7a 100644 --- a/vio/vio/tests/test_proxy_identity_view.py +++ b/vio/vio/tests/test_proxy_identity_view.py @@ -38,3 +38,8 @@ class TestIdentityServer(unittest.TestCase): def test_post(self, mock_send): self.view.post(mock.Mock(), "openstack_regionone", None) mock_send.assert_called_once() + + @mock.patch.object(BaseClient, "send") + def test_delete(self, mock_send): + self.view.delete(mock.Mock(), "openstack_regionone", None) + mock_send.assert_called_once() |