bugfix: testset_shared_variables_mapping should be OrderedDict

This commit is contained in:
httprunner
2017-07-21 09:35:31 +08:00
parent 68a00bcc0d
commit 5e59951e73

View File

@@ -32,7 +32,7 @@ class Context(object):
if level == "testset":
self.testset_functions_config = {}
self.testset_request_config = {}
self.testset_shared_variables_mapping = {}
self.testset_shared_variables_mapping = OrderedDict()
# testcase config shall inherit from testset configs,
# but can not change testset configs, that's why we use copy.deepcopy here.