File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -348,7 +348,7 @@ def test_no_boundary(
348348 content_type : str ,
349349 ) -> None :
350350 """
351- If no boundary is given, a ``BAD_REQUEST `` is returned.
351+ If no boundary is given, an ``INTERNAL_SERVER_ERROR `` is returned.
352352 """
353353 image_content = high_quality_image .getvalue ()
354354 date = rfc_1123_date ()
@@ -392,17 +392,12 @@ def test_no_boundary(
392392 request_body = requests_response .request .body ,
393393 tell_position = requests_response .raw .tell (),
394394 )
395- handle_server_errors (response = vws_response )
396-
397- expected_text = (
398- "java.io.IOException: RESTEASY007550: "
399- "Unable to get boundary for multipart"
400- )
395+ expected_text = "RESTEASY007550: Unable to get boundary for multipart"
401396 assert requests_response .text == expected_text
402397 assert_vwq_failure (
403398 response = vws_response ,
404- status_code = HTTPStatus .BAD_REQUEST ,
405- content_type = "text/html;charset=utf-8 " ,
399+ status_code = HTTPStatus .INTERNAL_SERVER_ERROR ,
400+ content_type = "application/json " ,
406401 cache_control = None ,
407402 www_authenticate = None ,
408403 connection = "keep-alive" ,
You can’t perform that action at this time.
0 commit comments