mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-18 01:17:36 +08:00
fix unittest
This commit is contained in:
@@ -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]},
|
||||
|
||||
Reference in New Issue
Block a user