From dd1290c47bc01c24b7a30ca5d7de0df266be6c72 Mon Sep 17 00:00:00 2001 From: Ethan Lynn Date: Tue, 27 Mar 2018 08:08:49 -0700 Subject: Add test_delete for identityserver add test_delete Change-Id: I5b6dbb6f92cf61f7028769017ce10bdec9ac3a0f Issue-ID: MULTICLOUD-199 Signed-off-by: Ethan Lynn --- vio/vio/tests/test_proxy_identity_view.py | 5 +++++ 1 file changed, 5 insertions(+) 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() -- cgit 1.2.3-korg