@Name : __createTestClient @Desc : Creates the TestClient during init based upon the parameters provided @Output: Returns SUCCESS or FAILED
(self)
| 190 | return FAILED |
| 191 | |
| 192 | def __createTestClient(self): |
| 193 | ''' |
| 194 | @Name : __createTestClient |
| 195 | @Desc : Creates the TestClient during init |
| 196 | based upon the parameters provided |
| 197 | @Output: Returns SUCCESS or FAILED |
| 198 | ''' |
| 199 | try: |
| 200 | mgt_details = self.__parsedConfig.mgtSvr[0] |
| 201 | dbsvr_details = self.__parsedConfig.dbSvr |
| 202 | self.__testClient = CSTestClient( |
| 203 | mgt_details, |
| 204 | dbsvr_details, |
| 205 | logger=self.__tcRunLogger, |
| 206 | test_data_filepath=self.__testDataFilePath, |
| 207 | zone=self.__zoneForTests, |
| 208 | hypervisor_type=self.__hypervisorType) |
| 209 | if self.__testClient: |
| 210 | return self.__testClient.createTestClient() |
| 211 | return FAILED |
| 212 | except Exception as e: |
| 213 | print("\n Exception Occurred Under __createTestClient : %s" % \ |
| 214 | GetDetailExceptionInfo(e)) |
| 215 | return FAILED |
| 216 | |
| 217 | def __setTestDataPath(self): |
| 218 | ''' |
no test coverage detected