@@ -18,8 +18,8 @@ class TestVision:
1818 parametrize = pytest .mark .parametrize ("client" , [False , True ], indirect = True , ids = ["loose" , "strict" ])
1919
2020 @parametrize
21- def test_method_analyze_images (self , client : Writer ) -> None :
22- vision = client .vision .analyze_images (
21+ def test_method_analyze (self , client : Writer ) -> None :
22+ vision = client .vision .analyze (
2323 model = "palmyra-vision" ,
2424 prompt = "Describe the difference between the image {{image_1}} and the image {{image_2}}." ,
2525 variables = [
@@ -36,8 +36,8 @@ def test_method_analyze_images(self, client: Writer) -> None:
3636 assert_matches_type (VisionResponse , vision , path = ["response" ])
3737
3838 @parametrize
39- def test_raw_response_analyze_images (self , client : Writer ) -> None :
40- response = client .vision .with_raw_response .analyze_images (
39+ def test_raw_response_analyze (self , client : Writer ) -> None :
40+ response = client .vision .with_raw_response .analyze (
4141 model = "palmyra-vision" ,
4242 prompt = "Describe the difference between the image {{image_1}} and the image {{image_2}}." ,
4343 variables = [
@@ -58,8 +58,8 @@ def test_raw_response_analyze_images(self, client: Writer) -> None:
5858 assert_matches_type (VisionResponse , vision , path = ["response" ])
5959
6060 @parametrize
61- def test_streaming_response_analyze_images (self , client : Writer ) -> None :
62- with client .vision .with_streaming_response .analyze_images (
61+ def test_streaming_response_analyze (self , client : Writer ) -> None :
62+ with client .vision .with_streaming_response .analyze (
6363 model = "palmyra-vision" ,
6464 prompt = "Describe the difference between the image {{image_1}} and the image {{image_2}}." ,
6565 variables = [
@@ -86,8 +86,8 @@ class TestAsyncVision:
8686 parametrize = pytest .mark .parametrize ("async_client" , [False , True ], indirect = True , ids = ["loose" , "strict" ])
8787
8888 @parametrize
89- async def test_method_analyze_images (self , async_client : AsyncWriter ) -> None :
90- vision = await async_client .vision .analyze_images (
89+ async def test_method_analyze (self , async_client : AsyncWriter ) -> None :
90+ vision = await async_client .vision .analyze (
9191 model = "palmyra-vision" ,
9292 prompt = "Describe the difference between the image {{image_1}} and the image {{image_2}}." ,
9393 variables = [
@@ -104,8 +104,8 @@ async def test_method_analyze_images(self, async_client: AsyncWriter) -> None:
104104 assert_matches_type (VisionResponse , vision , path = ["response" ])
105105
106106 @parametrize
107- async def test_raw_response_analyze_images (self , async_client : AsyncWriter ) -> None :
108- response = await async_client .vision .with_raw_response .analyze_images (
107+ async def test_raw_response_analyze (self , async_client : AsyncWriter ) -> None :
108+ response = await async_client .vision .with_raw_response .analyze (
109109 model = "palmyra-vision" ,
110110 prompt = "Describe the difference between the image {{image_1}} and the image {{image_2}}." ,
111111 variables = [
@@ -126,8 +126,8 @@ async def test_raw_response_analyze_images(self, async_client: AsyncWriter) -> N
126126 assert_matches_type (VisionResponse , vision , path = ["response" ])
127127
128128 @parametrize
129- async def test_streaming_response_analyze_images (self , async_client : AsyncWriter ) -> None :
130- async with async_client .vision .with_streaming_response .analyze_images (
129+ async def test_streaming_response_analyze (self , async_client : AsyncWriter ) -> None :
130+ async with async_client .vision .with_streaming_response .analyze (
131131 model = "palmyra-vision" ,
132132 prompt = "Describe the difference between the image {{image_1}} and the image {{image_2}}." ,
133133 variables = [
0 commit comments