diff options
author | Ethan Lynn <ethanlynnl@vmware.com> | 2018-03-27 08:07:20 -0700 |
---|---|---|
committer | Ethan Lynn <ethanlynnl@vmware.com> | 2018-03-27 08:07:20 -0700 |
commit | 6cdb4cde699c5fea625d9da7786aa4d9d64199f3 (patch) | |
tree | 441b6cd0f2ae4d7bd2dbc4a9400ae691e11b575a /vio | |
parent | bbdf117e7c7a1e53ffd1cde23aa8891d146a3db5 (diff) |
Add test_post for identityserver
Add test_post
Change-Id: I6d39eac7c943abee80fbf03902f2eed772d04519
Issue-ID: MULTICLOUD-199
Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
Diffstat (limited to 'vio')
-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 89143e7..f79354a 100644 --- a/vio/vio/tests/test_proxy_identity_view.py +++ b/vio/vio/tests/test_proxy_identity_view.py @@ -33,3 +33,8 @@ class TestIdentityServer(unittest.TestCase): def test_patch(self, mock_send): self.view.patch(mock.Mock(), "openstack_regionone", None) mock_send.assert_called_once() + + @mock.patch.object(BaseClient, "send") + def test_post(self, mock_send): + self.view.post(mock.Mock(), "openstack_regionone", None) + mock_send.assert_called_once() |