mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-07 15:31:23 +08:00
bugfix: testset_shared_variables_mapping should be OrderedDict
This commit is contained in:
@@ -32,7 +32,7 @@ class Context(object):
|
|||||||
if level == "testset":
|
if level == "testset":
|
||||||
self.testset_functions_config = {}
|
self.testset_functions_config = {}
|
||||||
self.testset_request_config = {}
|
self.testset_request_config = {}
|
||||||
self.testset_shared_variables_mapping = {}
|
self.testset_shared_variables_mapping = OrderedDict()
|
||||||
|
|
||||||
# testcase config shall inherit from testset configs,
|
# testcase config shall inherit from testset configs,
|
||||||
# but can not change testset configs, that's why we use copy.deepcopy here.
|
# but can not change testset configs, that's why we use copy.deepcopy here.
|
||||||
|
|||||||
Reference in New Issue
Block a user