summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEthan Lynn <ethanlynnl@vmware.com>2018-03-27 08:10:10 -0700
committerEthan Lynn <ethanlynnl@vmware.com>2018-03-27 08:10:10 -0700
commit63ff611a184da83941dcea11d1bff0bf1ed0b9e5 (patch)
treee21e335eccef8332ef482990c8bc19e7f32f8055
parentdd1290c47bc01c24b7a30ca5d7de0df266be6c72 (diff)
Add test_head for identityserver
Add test_head Change-Id: Ie3379bd035c7eecabea9082c2079ce12b65922ae Issue-ID: MULTICLOUD-199 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
-rw-r--r--vio/vio/tests/test_proxy_identity_view.py5
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 724fd7a..60986a1 100644
--- a/vio/vio/tests/test_proxy_identity_view.py
+++ b/vio/vio/tests/test_proxy_identity_view.py
@@ -43,3 +43,8 @@ class TestIdentityServer(unittest.TestCase):
def test_delete(self, mock_send):
self.view.delete(mock.Mock(), "openstack_regionone", None)
mock_send.assert_called_once()
+
+ @mock.patch.object(BaseClient, "send")
+ def test_head(self, mock_send):
+ self.view.head(mock.Mock(), "openstack_regionone", None)
+ mock_send.assert_called_once()