lower all keys in request headers

This commit is contained in:
httprunner
2018-02-24 14:51:40 +08:00
parent 273a01ae23
commit f01bc59d2a
3 changed files with 12 additions and 4 deletions

View File

@@ -259,8 +259,8 @@ class TestUtils(ApiServerUnittest):
self.assertIn("request", new_dict)
self.assertIn("method", new_dict["request"])
self.assertIn("headers", new_dict["request"])
self.assertIn("Accept", new_dict["request"]["headers"])
self.assertIn("User-Agent", new_dict["request"]["headers"])
self.assertIn("accept", new_dict["request"]["headers"])
self.assertIn("user-agent", new_dict["request"]["headers"])
origin_dict = {
"Name": "test",