mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2026-10-05 06:11:06 +01:00
fix(test): assert camelCase userAgent key in JSON response
This commit is contained in:
+1
-1
@@ -83,7 +83,7 @@ def test_json_api():
|
||||
|
||||
assert response.status_code == HTTPStatus.OK
|
||||
solution = response.json()["solution"]
|
||||
assert solution["user_agent"]
|
||||
assert solution["userAgent"]
|
||||
assert '"ip"' in solution["response"]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user