MCPcopy Create free account
hub / github.com/apache/cloudstack / __setTestDataPath

Method __setTestDataPath

tools/marvin/marvin/marvinInit.py:217–232  ·  view source on GitHub ↗

@Name : __setTestDataPath @Desc : Sets the TestData Path for tests to run @Output:Returns SUCCESS or FAILED

(self)

Source from the content-addressed store, hash-verified

215 return FAILED
216
217 def __setTestDataPath(self):
218 '''
219 @Name : __setTestDataPath
220 @Desc : Sets the TestData Path for tests to run
221 @Output:Returns SUCCESS or FAILED
222 '''
223 try:
224 if ((self.__parsedConfig.TestData is not None) and
225 (self.__parsedConfig.TestData.Path is not None)):
226 self.__testDataFilePath = self.__parsedConfig.TestData.Path
227 print("\n=== Marvin Setting TestData Successful===")
228 return SUCCESS
229 except Exception as e:
230 print("\nException Occurred Under __setTestDataPath : %s" % \
231 GetDetailExceptionInfo(e))
232 return FAILED
233
234 def __deployDC(self):
235 '''

Callers 1

initMethod · 0.95

Calls 1

GetDetailExceptionInfoFunction · 0.90

Tested by

no test coverage detected