fix unittest

This commit is contained in:
debugtalk
2019-04-04 15:36:58 +08:00
parent 5fbbf6e70c
commit 7c6285b7b0
11 changed files with 18 additions and 19 deletions

View File

@@ -1073,7 +1073,7 @@ class TestParser(unittest.TestCase):
'url': '/api/get-token',
'method': 'POST',
'headers': {'user_agent': '$user_agent', 'device_sn': '$device_sn', 'os_platform': '$os_platform', 'app_version': '$app_version'},
'json': {'sign': '${get_sign($user_agent, $device_sn, $os_platform, $app_version)}'}
'json': {'sign': '${get_sign($device_sn, $os_platform, $app_version)}'}
},
'validate': [
{'eq': ['status_code', 201]},