bugfix: keys that are not in 'request' of config shall not be lower cased

This commit is contained in:
debugtalk
2017-09-20 21:06:32 +08:00
parent 8d3a423e88
commit f38b63d240
3 changed files with 15 additions and 4 deletions

View File

@@ -51,7 +51,7 @@ class Runner(object):
@param (str) context level, testcase or testset
"""
# convert keys in request headers to lowercase
config_dict = utils.lower_dict_key(config_dict)
config_dict = utils.lower_config_dict_key(config_dict)
self.context.init_context(level)
self.context.config_context(config_dict, level)