1717class TestInvalidation :
1818 parametrize = pytest .mark .parametrize ("client" , [False , True ], indirect = True , ids = ["loose" , "strict" ])
1919
20- @pytest .mark .skip (reason = "Prism tests are disabled" )
20+ @pytest .mark .skip (reason = "Mock server tests are disabled" )
2121 @parametrize
2222 def test_method_create (self , client : ImageKit ) -> None :
2323 invalidation = client .cache .invalidation .create (
2424 url = "https://ik.imagekit.io/your_imagekit_id/default-image.jpg" ,
2525 )
2626 assert_matches_type (InvalidationCreateResponse , invalidation , path = ["response" ])
2727
28- @pytest .mark .skip (reason = "Prism tests are disabled" )
28+ @pytest .mark .skip (reason = "Mock server tests are disabled" )
2929 @parametrize
3030 def test_raw_response_create (self , client : ImageKit ) -> None :
3131 response = client .cache .invalidation .with_raw_response .create (
@@ -37,7 +37,7 @@ def test_raw_response_create(self, client: ImageKit) -> None:
3737 invalidation = response .parse ()
3838 assert_matches_type (InvalidationCreateResponse , invalidation , path = ["response" ])
3939
40- @pytest .mark .skip (reason = "Prism tests are disabled" )
40+ @pytest .mark .skip (reason = "Mock server tests are disabled" )
4141 @parametrize
4242 def test_streaming_response_create (self , client : ImageKit ) -> None :
4343 with client .cache .invalidation .with_streaming_response .create (
@@ -51,15 +51,15 @@ def test_streaming_response_create(self, client: ImageKit) -> None:
5151
5252 assert cast (Any , response .is_closed ) is True
5353
54- @pytest .mark .skip (reason = "Prism tests are disabled" )
54+ @pytest .mark .skip (reason = "Mock server tests are disabled" )
5555 @parametrize
5656 def test_method_get (self , client : ImageKit ) -> None :
5757 invalidation = client .cache .invalidation .get (
5858 "requestId" ,
5959 )
6060 assert_matches_type (InvalidationGetResponse , invalidation , path = ["response" ])
6161
62- @pytest .mark .skip (reason = "Prism tests are disabled" )
62+ @pytest .mark .skip (reason = "Mock server tests are disabled" )
6363 @parametrize
6464 def test_raw_response_get (self , client : ImageKit ) -> None :
6565 response = client .cache .invalidation .with_raw_response .get (
@@ -71,7 +71,7 @@ def test_raw_response_get(self, client: ImageKit) -> None:
7171 invalidation = response .parse ()
7272 assert_matches_type (InvalidationGetResponse , invalidation , path = ["response" ])
7373
74- @pytest .mark .skip (reason = "Prism tests are disabled" )
74+ @pytest .mark .skip (reason = "Mock server tests are disabled" )
7575 @parametrize
7676 def test_streaming_response_get (self , client : ImageKit ) -> None :
7777 with client .cache .invalidation .with_streaming_response .get (
@@ -85,7 +85,7 @@ def test_streaming_response_get(self, client: ImageKit) -> None:
8585
8686 assert cast (Any , response .is_closed ) is True
8787
88- @pytest .mark .skip (reason = "Prism tests are disabled" )
88+ @pytest .mark .skip (reason = "Mock server tests are disabled" )
8989 @parametrize
9090 def test_path_params_get (self , client : ImageKit ) -> None :
9191 with pytest .raises (ValueError , match = r"Expected a non-empty value for `request_id` but received ''" ):
@@ -99,15 +99,15 @@ class TestAsyncInvalidation:
9999 "async_client" , [False , True , {"http_client" : "aiohttp" }], indirect = True , ids = ["loose" , "strict" , "aiohttp" ]
100100 )
101101
102- @pytest .mark .skip (reason = "Prism tests are disabled" )
102+ @pytest .mark .skip (reason = "Mock server tests are disabled" )
103103 @parametrize
104104 async def test_method_create (self , async_client : AsyncImageKit ) -> None :
105105 invalidation = await async_client .cache .invalidation .create (
106106 url = "https://ik.imagekit.io/your_imagekit_id/default-image.jpg" ,
107107 )
108108 assert_matches_type (InvalidationCreateResponse , invalidation , path = ["response" ])
109109
110- @pytest .mark .skip (reason = "Prism tests are disabled" )
110+ @pytest .mark .skip (reason = "Mock server tests are disabled" )
111111 @parametrize
112112 async def test_raw_response_create (self , async_client : AsyncImageKit ) -> None :
113113 response = await async_client .cache .invalidation .with_raw_response .create (
@@ -119,7 +119,7 @@ async def test_raw_response_create(self, async_client: AsyncImageKit) -> None:
119119 invalidation = await response .parse ()
120120 assert_matches_type (InvalidationCreateResponse , invalidation , path = ["response" ])
121121
122- @pytest .mark .skip (reason = "Prism tests are disabled" )
122+ @pytest .mark .skip (reason = "Mock server tests are disabled" )
123123 @parametrize
124124 async def test_streaming_response_create (self , async_client : AsyncImageKit ) -> None :
125125 async with async_client .cache .invalidation .with_streaming_response .create (
@@ -133,15 +133,15 @@ async def test_streaming_response_create(self, async_client: AsyncImageKit) -> N
133133
134134 assert cast (Any , response .is_closed ) is True
135135
136- @pytest .mark .skip (reason = "Prism tests are disabled" )
136+ @pytest .mark .skip (reason = "Mock server tests are disabled" )
137137 @parametrize
138138 async def test_method_get (self , async_client : AsyncImageKit ) -> None :
139139 invalidation = await async_client .cache .invalidation .get (
140140 "requestId" ,
141141 )
142142 assert_matches_type (InvalidationGetResponse , invalidation , path = ["response" ])
143143
144- @pytest .mark .skip (reason = "Prism tests are disabled" )
144+ @pytest .mark .skip (reason = "Mock server tests are disabled" )
145145 @parametrize
146146 async def test_raw_response_get (self , async_client : AsyncImageKit ) -> None :
147147 response = await async_client .cache .invalidation .with_raw_response .get (
@@ -153,7 +153,7 @@ async def test_raw_response_get(self, async_client: AsyncImageKit) -> None:
153153 invalidation = await response .parse ()
154154 assert_matches_type (InvalidationGetResponse , invalidation , path = ["response" ])
155155
156- @pytest .mark .skip (reason = "Prism tests are disabled" )
156+ @pytest .mark .skip (reason = "Mock server tests are disabled" )
157157 @parametrize
158158 async def test_streaming_response_get (self , async_client : AsyncImageKit ) -> None :
159159 async with async_client .cache .invalidation .with_streaming_response .get (
@@ -167,7 +167,7 @@ async def test_streaming_response_get(self, async_client: AsyncImageKit) -> None
167167
168168 assert cast (Any , response .is_closed ) is True
169169
170- @pytest .mark .skip (reason = "Prism tests are disabled" )
170+ @pytest .mark .skip (reason = "Mock server tests are disabled" )
171171 @parametrize
172172 async def test_path_params_get (self , async_client : AsyncImageKit ) -> None :
173173 with pytest .raises (ValueError , match = r"Expected a non-empty value for `request_id` but received ''" ):
0 commit comments