Browse Source

Remove leftover os_client_config references

The patch removes forgotten and unusued os_client_config
references.

Change-Id: I15b2af134545cbcdcc571d44597961fea0294867
tags/2.3.0^0
Martin Kopec 1 month ago
parent
commit
594614fca5
1 changed files with 1 additions and 5 deletions
  1. 1
    5
      config_tempest/tests/base.py

+ 1
- 5
config_tempest/tests/base.py View File

@@ -96,14 +96,10 @@ class BaseConfigTempestTest(base.BaseTestCase):
96 96
         self.useFixture(MonkeyPatch(func2mock, mock_function))
97 97
         return Credentials(conf, admin)
98 98
 
99
-    @mock.patch('os_client_config.cloud_config.CloudConfig')
100
-    def _get_clients(self, conf, mock_args, creds=None):
99
+    def _get_clients(self, conf, creds=None):
101 100
         """Returns ClientManager instance"""
102 101
         if creds is None:
103 102
             creds = self._get_creds(conf, v2=True)
104
-        mock_function = mock.Mock(return_value=False)
105
-        func2mock = 'os_client_config.cloud_config.CloudConfig.config.get'
106
-        self.useFixture(MonkeyPatch(func2mock, mock_function))
107 103
         return ClientManager(conf, creds)
108 104
 
109 105
 

Loading…
Cancel
Save