diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2017-03-23 15:33:58 +0100 |
---|---|---|
committer | Morgan Richomme <morgan.richomme@orange.com> | 2017-03-23 15:42:13 +0100 |
commit | 041fd3e79787b37bc19761b103a26583fd99c498 (patch) | |
tree | a89429ed80b58bdc41c709a38d5942aa25942341 /functest/tests/unit/utils | |
parent | a434c3fefdf075cb6be44b964b64fc12db1cb8d5 (diff) |
bug fix: unit test on openstack_utils
test_check_credentials_missing_env was corrected
but correction lead to good execution but false results
Change-Id: I47ff7d6aa0d5dda78cd978f1905b570c02160a8a
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'functest/tests/unit/utils')
-rw-r--r-- | functest/tests/unit/utils/test_openstack_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functest/tests/unit/utils/test_openstack_utils.py b/functest/tests/unit/utils/test_openstack_utils.py index f51a4991..673ad5e2 100644 --- a/functest/tests/unit/utils/test_openstack_utils.py +++ b/functest/tests/unit/utils/test_openstack_utils.py @@ -301,7 +301,7 @@ class OSUtilsTesting(unittest.TestCase): 'OS_PROJECT_DOMAIN_NAME']) self.assertEqual(openstack_utils.get_rc_env_vars(), exp_resp) - @mock.patch('functest.utils.openstack_utils') + @mock.patch('functest.utils.openstack_utils.get_rc_env_vars') def test_check_credentials_missing_env(self, mock_get_rc_env): exp_resp = self.env_vars exp_resp.extend(['OS_TENANT_NAME']) |