You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test: Use unittest assertions and requests json= in L0_http boundary helper
Apply review feedback on test_large_string_in_json:
- Replace bare assert with self.assertGreaterEqual / self.assertEqual so
failures surface through unittest's reporting.
- Build the request via requests.post(json=payload) instead of dumping the
body and passing data=, which is more explicit about the content type and
lets requests handle the Content-Type header.
- Rename helper to _build_payload_of_json_size since it now returns the
payload dict instead of a serialized body.
0 commit comments