rename teststeps to tests

This commit is contained in:
httprunner
2018-11-23 17:56:53 +08:00
parent b103fd0d2b
commit 3652a713c5
12 changed files with 271 additions and 271 deletions

View File

@@ -215,7 +215,7 @@ class TestRunner(ApiServerUnittest):
tests_mapping = loader.load_tests(testcase_file_path)
testcase = tests_mapping["testcases"][0]
config_dict_headers = testcase["config"]["request"]["headers"]
test_dict_headers = testcase["teststeps"][0]["request"]["headers"]
test_dict_headers = testcase["tests"][0]["request"]["headers"]
headers = deep_update_dict(
config_dict_headers,
test_dict_headers