@@ -162,7 +162,7 @@ def test_nonstreaming_chat_completion(
162162 model_response = get_model_response (
163163 nonstreaming_chat_completions_model_response ,
164164 serialize_pydantic = True ,
165- request_headers = {"X-Stainless-Raw-Response" : "True " },
165+ request_headers = {"X-Stainless-Raw-Response" : "true " },
166166 )
167167
168168 with mock .patch .object (
@@ -330,7 +330,7 @@ def test_streaming_chat_completion(
330330 streaming_chat_completions_model_response ,
331331 include_event_type = False ,
332332 ),
333- request_headers = {"X-Stainless-Raw-Response" : "True " },
333+ request_headers = {"X-Stainless-Raw-Response" : "true " },
334334 )
335335
336336 with mock .patch .object (
@@ -843,8 +843,6 @@ def test_exception_handling(
843843 client = client ,
844844 )
845845
846- litellm_utils .executor .shutdown (wait = True )
847-
848846 # Should have error event and transaction
849847 assert len (events ) >= 1
850848 # Find the error event
@@ -908,7 +906,7 @@ def test_span_origin(
908906 model_response = get_model_response (
909907 nonstreaming_chat_completions_model_response ,
910908 serialize_pydantic = True ,
911- request_headers = {"X-Stainless-Raw-Response" : "True " },
909+ request_headers = {"X-Stainless-Raw-Response" : "true " },
912910 )
913911
914912 with mock .patch .object (
@@ -953,7 +951,7 @@ def test_multiple_providers(
953951 openai_model_response = get_model_response (
954952 nonstreaming_chat_completions_model_response ,
955953 serialize_pydantic = True ,
956- request_headers = {"X-Stainless-Raw-Response" : "True " },
954+ request_headers = {"X-Stainless-Raw-Response" : "true " },
957955 )
958956
959957 with mock .patch .object (
@@ -976,7 +974,7 @@ def test_multiple_providers(
976974 anthropic_model_response = get_model_response (
977975 nonstreaming_anthropic_model_response ,
978976 serialize_pydantic = True ,
979- request_headers = {"X-Stainless-Raw-Response" : "True " },
977+ request_headers = {"X-Stainless-Raw-Response" : "true " },
980978 )
981979
982980 with mock .patch .object (
@@ -1142,7 +1140,7 @@ def test_additional_parameters(
11421140 model_response = get_model_response (
11431141 nonstreaming_chat_completions_model_response ,
11441142 serialize_pydantic = True ,
1145- request_headers = {"X-Stainless-Raw-Response" : "True " },
1143+ request_headers = {"X-Stainless-Raw-Response" : "true " },
11461144 )
11471145
11481146 with mock .patch .object (
@@ -1294,7 +1292,7 @@ def test_no_integration(
12941292 model_response = get_model_response (
12951293 nonstreaming_chat_completions_model_response ,
12961294 serialize_pydantic = True ,
1297- request_headers = {"X-Stainless-Raw-Response" : "True " },
1295+ request_headers = {"X-Stainless-Raw-Response" : "true " },
12981296 )
12991297
13001298 with mock .patch .object (
@@ -1518,7 +1516,7 @@ def test_binary_content_encoding_image_url(
15181516 model_response = get_model_response (
15191517 nonstreaming_chat_completions_model_response ,
15201518 serialize_pydantic = True ,
1521- request_headers = {"X-Stainless-Raw-Response" : "True " },
1519+ request_headers = {"X-Stainless-Raw-Response" : "true " },
15221520 )
15231521
15241522 with mock .patch .object (
@@ -1676,7 +1674,7 @@ def test_binary_content_encoding_mixed_content(
16761674 model_response = get_model_response (
16771675 nonstreaming_chat_completions_model_response ,
16781676 serialize_pydantic = True ,
1679- request_headers = {"X-Stainless-Raw-Response" : "True " },
1677+ request_headers = {"X-Stainless-Raw-Response" : "true " },
16801678 )
16811679
16821680 with mock .patch .object (
@@ -1809,7 +1807,7 @@ def test_binary_content_encoding_uri_type(
18091807 model_response = get_model_response (
18101808 nonstreaming_chat_completions_model_response ,
18111809 serialize_pydantic = True ,
1812- request_headers = {"X-Stainless-Raw-Response" : "True " },
1810+ request_headers = {"X-Stainless-Raw-Response" : "true " },
18131811 )
18141812
18151813 with mock .patch .object (
0 commit comments