mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-13 19:59:37 +08:00
refactor names: simplify functions
This commit is contained in:
@@ -72,7 +72,7 @@ class ApiTestSuite(unittest.TestSuite):
|
||||
|
||||
def _add_tests_to_suite(self, testcases):
|
||||
for testcase_dict in testcases:
|
||||
testcase_name = self.test_runner.get_eval_content(testcase_dict["name"])
|
||||
testcase_name = self.test_runner.context.eval_content(testcase_dict["name"])
|
||||
if utils.PYTHON_VERSION == 3:
|
||||
ApiTestCase.runTest.__doc__ = testcase_name
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user