@@ -21,7 +21,7 @@ class TestKeys:
21
21
@parametrize
22
22
def test_method_update (self , client : Cloudflare ) -> None :
23
23
key = client .images .v1 .keys .update (
24
- "string " ,
24
+ "someKey " ,
25
25
account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
26
26
)
27
27
assert_matches_type (ImagesImageKeys , key , path = ["response" ])
@@ -30,7 +30,7 @@ def test_method_update(self, client: Cloudflare) -> None:
30
30
@parametrize
31
31
def test_raw_response_update (self , client : Cloudflare ) -> None :
32
32
response = client .images .v1 .keys .with_raw_response .update (
33
- "string " ,
33
+ "someKey " ,
34
34
account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
35
35
)
36
36
@@ -43,7 +43,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
43
43
@parametrize
44
44
def test_streaming_response_update (self , client : Cloudflare ) -> None :
45
45
with client .images .v1 .keys .with_streaming_response .update (
46
- "string " ,
46
+ "someKey " ,
47
47
account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
48
48
) as response :
49
49
assert not response .is_closed
@@ -59,7 +59,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None:
59
59
def test_path_params_update (self , client : Cloudflare ) -> None :
60
60
with pytest .raises (ValueError , match = r"Expected a non-empty value for `account_id` but received ''" ):
61
61
client .images .v1 .keys .with_raw_response .update (
62
- "string " ,
62
+ "someKey " ,
63
63
account_id = "" ,
64
64
)
65
65
@@ -115,7 +115,7 @@ def test_path_params_list(self, client: Cloudflare) -> None:
115
115
@parametrize
116
116
def test_method_delete (self , client : Cloudflare ) -> None :
117
117
key = client .images .v1 .keys .delete (
118
- "string " ,
118
+ "someKey " ,
119
119
account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
120
120
)
121
121
assert_matches_type (ImagesImageKeys , key , path = ["response" ])
@@ -124,7 +124,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
124
124
@parametrize
125
125
def test_raw_response_delete (self , client : Cloudflare ) -> None :
126
126
response = client .images .v1 .keys .with_raw_response .delete (
127
- "string " ,
127
+ "someKey " ,
128
128
account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
129
129
)
130
130
@@ -137,7 +137,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
137
137
@parametrize
138
138
def test_streaming_response_delete (self , client : Cloudflare ) -> None :
139
139
with client .images .v1 .keys .with_streaming_response .delete (
140
- "string " ,
140
+ "someKey " ,
141
141
account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
142
142
) as response :
143
143
assert not response .is_closed
@@ -153,7 +153,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
153
153
def test_path_params_delete (self , client : Cloudflare ) -> None :
154
154
with pytest .raises (ValueError , match = r"Expected a non-empty value for `account_id` but received ''" ):
155
155
client .images .v1 .keys .with_raw_response .delete (
156
- "string " ,
156
+ "someKey " ,
157
157
account_id = "" ,
158
158
)
159
159
@@ -171,7 +171,7 @@ class TestAsyncKeys:
171
171
@parametrize
172
172
async def test_method_update (self , async_client : AsyncCloudflare ) -> None :
173
173
key = await async_client .images .v1 .keys .update (
174
- "string " ,
174
+ "someKey " ,
175
175
account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
176
176
)
177
177
assert_matches_type (ImagesImageKeys , key , path = ["response" ])
@@ -180,7 +180,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None:
180
180
@parametrize
181
181
async def test_raw_response_update (self , async_client : AsyncCloudflare ) -> None :
182
182
response = await async_client .images .v1 .keys .with_raw_response .update (
183
- "string " ,
183
+ "someKey " ,
184
184
account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
185
185
)
186
186
@@ -193,7 +193,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
193
193
@parametrize
194
194
async def test_streaming_response_update (self , async_client : AsyncCloudflare ) -> None :
195
195
async with async_client .images .v1 .keys .with_streaming_response .update (
196
- "string " ,
196
+ "someKey " ,
197
197
account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
198
198
) as response :
199
199
assert not response .is_closed
@@ -209,7 +209,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) ->
209
209
async def test_path_params_update (self , async_client : AsyncCloudflare ) -> None :
210
210
with pytest .raises (ValueError , match = r"Expected a non-empty value for `account_id` but received ''" ):
211
211
await async_client .images .v1 .keys .with_raw_response .update (
212
- "string " ,
212
+ "someKey " ,
213
213
account_id = "" ,
214
214
)
215
215
@@ -265,7 +265,7 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None:
265
265
@parametrize
266
266
async def test_method_delete (self , async_client : AsyncCloudflare ) -> None :
267
267
key = await async_client .images .v1 .keys .delete (
268
- "string " ,
268
+ "someKey " ,
269
269
account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
270
270
)
271
271
assert_matches_type (ImagesImageKeys , key , path = ["response" ])
@@ -274,7 +274,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
274
274
@parametrize
275
275
async def test_raw_response_delete (self , async_client : AsyncCloudflare ) -> None :
276
276
response = await async_client .images .v1 .keys .with_raw_response .delete (
277
- "string " ,
277
+ "someKey " ,
278
278
account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
279
279
)
280
280
@@ -287,7 +287,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
287
287
@parametrize
288
288
async def test_streaming_response_delete (self , async_client : AsyncCloudflare ) -> None :
289
289
async with async_client .images .v1 .keys .with_streaming_response .delete (
290
- "string " ,
290
+ "someKey " ,
291
291
account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
292
292
) as response :
293
293
assert not response .is_closed
@@ -303,7 +303,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
303
303
async def test_path_params_delete (self , async_client : AsyncCloudflare ) -> None :
304
304
with pytest .raises (ValueError , match = r"Expected a non-empty value for `account_id` but received ''" ):
305
305
await async_client .images .v1 .keys .with_raw_response .delete (
306
- "string " ,
306
+ "someKey " ,
307
307
account_id = "" ,
308
308
)
309
309
0 commit comments