MCPcopy Create free account
hub / github.com/apache/kafka / initWithKnownTestCasePathName

Method initWithKnownTestCasePathName

system_test/utils/testcase_env.py:141–152  ·  view source on GitHub ↗
(self, testCasePathName)

Source from the content-addressed store, hash-verified

139 self.consumerTopicsString = ""
140
141 def initWithKnownTestCasePathName(self, testCasePathName):
142 testcaseDirName = os.path.basename(testCasePathName)
143 self.testcaseResultsDict["_test_case_name"] = testcaseDirName
144 self.testCaseBaseDir = testCasePathName
145 self.testCaseLogsDir = self.testCaseBaseDir + "/logs"
146 self.testCaseDashboardsDir = self.testCaseBaseDir + "/dashboards"
147
148 # find testcase properties json file
149 self.testcasePropJsonPathName = system_test_utils.get_testcase_prop_json_pathname(testCasePathName)
150
151 # get the dictionary that contains the testcase arguments and description
152 self.testcaseNonEntityDataDict = system_test_utils.get_json_dict_data(self.testcasePropJsonPathName)
153
154 def printTestCaseDescription(self, testcaseDirName):
155 testcaseDescription = ""

Callers 3

runTestMethod · 0.80
runTestMethod · 0.80
runTestMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected