Skip to content

Commit 3af093a

Browse files
chore: update placeholder string
1 parent 54e6339 commit 3af093a

4 files changed

Lines changed: 40 additions & 40 deletions

File tree

tests/api_resources/sessions/test_files.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -263,15 +263,15 @@ def test_path_params_download_archive(self, client: Steel) -> None:
263263
def test_method_upload(self, client: Steel) -> None:
264264
file = client.sessions.files.upload(
265265
session_id="sessionId",
266-
file=b"raw file contents",
266+
file=b"Example data",
267267
)
268268
assert_matches_type(File, file, path=["response"])
269269

270270
@parametrize
271271
def test_method_upload_with_all_params(self, client: Steel) -> None:
272272
file = client.sessions.files.upload(
273273
session_id="sessionId",
274-
file=b"raw file contents",
274+
file=b"Example data",
275275
path="path",
276276
)
277277
assert_matches_type(File, file, path=["response"])
@@ -280,7 +280,7 @@ def test_method_upload_with_all_params(self, client: Steel) -> None:
280280
def test_raw_response_upload(self, client: Steel) -> None:
281281
response = client.sessions.files.with_raw_response.upload(
282282
session_id="sessionId",
283-
file=b"raw file contents",
283+
file=b"Example data",
284284
)
285285

286286
assert response.is_closed is True
@@ -292,7 +292,7 @@ def test_raw_response_upload(self, client: Steel) -> None:
292292
def test_streaming_response_upload(self, client: Steel) -> None:
293293
with client.sessions.files.with_streaming_response.upload(
294294
session_id="sessionId",
295-
file=b"raw file contents",
295+
file=b"Example data",
296296
) as response:
297297
assert not response.is_closed
298298
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -307,7 +307,7 @@ def test_path_params_upload(self, client: Steel) -> None:
307307
with pytest.raises(ValueError, match=r"Expected a non-empty value for `session_id` but received ''"):
308308
client.sessions.files.with_raw_response.upload(
309309
session_id="",
310-
file=b"raw file contents",
310+
file=b"Example data",
311311
)
312312

313313

@@ -554,15 +554,15 @@ async def test_path_params_download_archive(self, async_client: AsyncSteel) -> N
554554
async def test_method_upload(self, async_client: AsyncSteel) -> None:
555555
file = await async_client.sessions.files.upload(
556556
session_id="sessionId",
557-
file=b"raw file contents",
557+
file=b"Example data",
558558
)
559559
assert_matches_type(File, file, path=["response"])
560560

561561
@parametrize
562562
async def test_method_upload_with_all_params(self, async_client: AsyncSteel) -> None:
563563
file = await async_client.sessions.files.upload(
564564
session_id="sessionId",
565-
file=b"raw file contents",
565+
file=b"Example data",
566566
path="path",
567567
)
568568
assert_matches_type(File, file, path=["response"])
@@ -571,7 +571,7 @@ async def test_method_upload_with_all_params(self, async_client: AsyncSteel) ->
571571
async def test_raw_response_upload(self, async_client: AsyncSteel) -> None:
572572
response = await async_client.sessions.files.with_raw_response.upload(
573573
session_id="sessionId",
574-
file=b"raw file contents",
574+
file=b"Example data",
575575
)
576576

577577
assert response.is_closed is True
@@ -583,7 +583,7 @@ async def test_raw_response_upload(self, async_client: AsyncSteel) -> None:
583583
async def test_streaming_response_upload(self, async_client: AsyncSteel) -> None:
584584
async with async_client.sessions.files.with_streaming_response.upload(
585585
session_id="sessionId",
586-
file=b"raw file contents",
586+
file=b"Example data",
587587
) as response:
588588
assert not response.is_closed
589589
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -598,5 +598,5 @@ async def test_path_params_upload(self, async_client: AsyncSteel) -> None:
598598
with pytest.raises(ValueError, match=r"Expected a non-empty value for `session_id` but received ''"):
599599
await async_client.sessions.files.with_raw_response.upload(
600600
session_id="",
601-
file=b"raw file contents",
601+
file=b"Example data",
602602
)

tests/api_resources/test_extensions.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def test_method_update(self, client: Steel) -> None:
3434
def test_method_update_with_all_params(self, client: Steel) -> None:
3535
extension = client.extensions.update(
3636
extension_id="extensionId",
37-
file=b"raw file contents",
37+
file=b"Example data",
3838
url="https://example.com",
3939
)
4040
assert_matches_type(ExtensionUpdateResponse, extension, path=["response"])
@@ -204,7 +204,7 @@ def test_method_upload(self, client: Steel) -> None:
204204
@parametrize
205205
def test_method_upload_with_all_params(self, client: Steel) -> None:
206206
extension = client.extensions.upload(
207-
file=b"raw file contents",
207+
file=b"Example data",
208208
url="https://example.com",
209209
)
210210
assert_matches_type(ExtensionUploadResponse, extension, path=["response"])
@@ -246,7 +246,7 @@ async def test_method_update(self, async_client: AsyncSteel) -> None:
246246
async def test_method_update_with_all_params(self, async_client: AsyncSteel) -> None:
247247
extension = await async_client.extensions.update(
248248
extension_id="extensionId",
249-
file=b"raw file contents",
249+
file=b"Example data",
250250
url="https://example.com",
251251
)
252252
assert_matches_type(ExtensionUpdateResponse, extension, path=["response"])
@@ -416,7 +416,7 @@ async def test_method_upload(self, async_client: AsyncSteel) -> None:
416416
@parametrize
417417
async def test_method_upload_with_all_params(self, async_client: AsyncSteel) -> None:
418418
extension = await async_client.extensions.upload(
419-
file=b"raw file contents",
419+
file=b"Example data",
420420
url="https://example.com",
421421
)
422422
assert_matches_type(ExtensionUploadResponse, extension, path=["response"])

tests/api_resources/test_files.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -141,22 +141,22 @@ def test_path_params_download(self, client: Steel) -> None:
141141
@parametrize
142142
def test_method_upload(self, client: Steel) -> None:
143143
file = client.files.upload(
144-
file=b"raw file contents",
144+
file=b"Example data",
145145
)
146146
assert_matches_type(File, file, path=["response"])
147147

148148
@parametrize
149149
def test_method_upload_with_all_params(self, client: Steel) -> None:
150150
file = client.files.upload(
151-
file=b"raw file contents",
151+
file=b"Example data",
152152
path="path",
153153
)
154154
assert_matches_type(File, file, path=["response"])
155155

156156
@parametrize
157157
def test_raw_response_upload(self, client: Steel) -> None:
158158
response = client.files.with_raw_response.upload(
159-
file=b"raw file contents",
159+
file=b"Example data",
160160
)
161161

162162
assert response.is_closed is True
@@ -167,7 +167,7 @@ def test_raw_response_upload(self, client: Steel) -> None:
167167
@parametrize
168168
def test_streaming_response_upload(self, client: Steel) -> None:
169169
with client.files.with_streaming_response.upload(
170-
file=b"raw file contents",
170+
file=b"Example data",
171171
) as response:
172172
assert not response.is_closed
173173
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -299,22 +299,22 @@ async def test_path_params_download(self, async_client: AsyncSteel) -> None:
299299
@parametrize
300300
async def test_method_upload(self, async_client: AsyncSteel) -> None:
301301
file = await async_client.files.upload(
302-
file=b"raw file contents",
302+
file=b"Example data",
303303
)
304304
assert_matches_type(File, file, path=["response"])
305305

306306
@parametrize
307307
async def test_method_upload_with_all_params(self, async_client: AsyncSteel) -> None:
308308
file = await async_client.files.upload(
309-
file=b"raw file contents",
309+
file=b"Example data",
310310
path="path",
311311
)
312312
assert_matches_type(File, file, path=["response"])
313313

314314
@parametrize
315315
async def test_raw_response_upload(self, async_client: AsyncSteel) -> None:
316316
response = await async_client.files.with_raw_response.upload(
317-
file=b"raw file contents",
317+
file=b"Example data",
318318
)
319319

320320
assert response.is_closed is True
@@ -325,7 +325,7 @@ async def test_raw_response_upload(self, async_client: AsyncSteel) -> None:
325325
@parametrize
326326
async def test_streaming_response_upload(self, async_client: AsyncSteel) -> None:
327327
async with async_client.files.with_streaming_response.upload(
328-
file=b"raw file contents",
328+
file=b"Example data",
329329
) as response:
330330
assert not response.is_closed
331331
assert response.http_request.headers.get("X-Stainless-Lang") == "python"

tests/api_resources/test_profiles.py

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ class TestProfiles:
2525
@parametrize
2626
def test_method_create(self, client: Steel) -> None:
2727
profile = client.profiles.create(
28-
user_data_dir=b"raw file contents",
28+
user_data_dir=b"Example data",
2929
)
3030
assert_matches_type(ProfileCreateResponse, profile, path=["response"])
3131

3232
@parametrize
3333
def test_method_create_with_all_params(self, client: Steel) -> None:
3434
profile = client.profiles.create(
35-
user_data_dir=b"raw file contents",
35+
user_data_dir=b"Example data",
3636
dimensions={
3737
"height": 0,
3838
"width": 0,
@@ -45,7 +45,7 @@ def test_method_create_with_all_params(self, client: Steel) -> None:
4545
@parametrize
4646
def test_raw_response_create(self, client: Steel) -> None:
4747
response = client.profiles.with_raw_response.create(
48-
user_data_dir=b"raw file contents",
48+
user_data_dir=b"Example data",
4949
)
5050

5151
assert response.is_closed is True
@@ -56,7 +56,7 @@ def test_raw_response_create(self, client: Steel) -> None:
5656
@parametrize
5757
def test_streaming_response_create(self, client: Steel) -> None:
5858
with client.profiles.with_streaming_response.create(
59-
user_data_dir=b"raw file contents",
59+
user_data_dir=b"Example data",
6060
) as response:
6161
assert not response.is_closed
6262
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -70,15 +70,15 @@ def test_streaming_response_create(self, client: Steel) -> None:
7070
def test_method_update(self, client: Steel) -> None:
7171
profile = client.profiles.update(
7272
id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
73-
user_data_dir=b"raw file contents",
73+
user_data_dir=b"Example data",
7474
)
7575
assert_matches_type(ProfileUpdateResponse, profile, path=["response"])
7676

7777
@parametrize
7878
def test_method_update_with_all_params(self, client: Steel) -> None:
7979
profile = client.profiles.update(
8080
id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
81-
user_data_dir=b"raw file contents",
81+
user_data_dir=b"Example data",
8282
dimensions={
8383
"height": 0,
8484
"width": 0,
@@ -92,7 +92,7 @@ def test_method_update_with_all_params(self, client: Steel) -> None:
9292
def test_raw_response_update(self, client: Steel) -> None:
9393
response = client.profiles.with_raw_response.update(
9494
id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
95-
user_data_dir=b"raw file contents",
95+
user_data_dir=b"Example data",
9696
)
9797

9898
assert response.is_closed is True
@@ -104,7 +104,7 @@ def test_raw_response_update(self, client: Steel) -> None:
104104
def test_streaming_response_update(self, client: Steel) -> None:
105105
with client.profiles.with_streaming_response.update(
106106
id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
107-
user_data_dir=b"raw file contents",
107+
user_data_dir=b"Example data",
108108
) as response:
109109
assert not response.is_closed
110110
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -119,7 +119,7 @@ def test_path_params_update(self, client: Steel) -> None:
119119
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
120120
client.profiles.with_raw_response.update(
121121
id="",
122-
user_data_dir=b"raw file contents",
122+
user_data_dir=b"Example data",
123123
)
124124

125125
@parametrize
@@ -194,14 +194,14 @@ class TestAsyncProfiles:
194194
@parametrize
195195
async def test_method_create(self, async_client: AsyncSteel) -> None:
196196
profile = await async_client.profiles.create(
197-
user_data_dir=b"raw file contents",
197+
user_data_dir=b"Example data",
198198
)
199199
assert_matches_type(ProfileCreateResponse, profile, path=["response"])
200200

201201
@parametrize
202202
async def test_method_create_with_all_params(self, async_client: AsyncSteel) -> None:
203203
profile = await async_client.profiles.create(
204-
user_data_dir=b"raw file contents",
204+
user_data_dir=b"Example data",
205205
dimensions={
206206
"height": 0,
207207
"width": 0,
@@ -214,7 +214,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncSteel) ->
214214
@parametrize
215215
async def test_raw_response_create(self, async_client: AsyncSteel) -> None:
216216
response = await async_client.profiles.with_raw_response.create(
217-
user_data_dir=b"raw file contents",
217+
user_data_dir=b"Example data",
218218
)
219219

220220
assert response.is_closed is True
@@ -225,7 +225,7 @@ async def test_raw_response_create(self, async_client: AsyncSteel) -> None:
225225
@parametrize
226226
async def test_streaming_response_create(self, async_client: AsyncSteel) -> None:
227227
async with async_client.profiles.with_streaming_response.create(
228-
user_data_dir=b"raw file contents",
228+
user_data_dir=b"Example data",
229229
) as response:
230230
assert not response.is_closed
231231
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -239,15 +239,15 @@ async def test_streaming_response_create(self, async_client: AsyncSteel) -> None
239239
async def test_method_update(self, async_client: AsyncSteel) -> None:
240240
profile = await async_client.profiles.update(
241241
id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
242-
user_data_dir=b"raw file contents",
242+
user_data_dir=b"Example data",
243243
)
244244
assert_matches_type(ProfileUpdateResponse, profile, path=["response"])
245245

246246
@parametrize
247247
async def test_method_update_with_all_params(self, async_client: AsyncSteel) -> None:
248248
profile = await async_client.profiles.update(
249249
id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
250-
user_data_dir=b"raw file contents",
250+
user_data_dir=b"Example data",
251251
dimensions={
252252
"height": 0,
253253
"width": 0,
@@ -261,7 +261,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncSteel) ->
261261
async def test_raw_response_update(self, async_client: AsyncSteel) -> None:
262262
response = await async_client.profiles.with_raw_response.update(
263263
id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
264-
user_data_dir=b"raw file contents",
264+
user_data_dir=b"Example data",
265265
)
266266

267267
assert response.is_closed is True
@@ -273,7 +273,7 @@ async def test_raw_response_update(self, async_client: AsyncSteel) -> None:
273273
async def test_streaming_response_update(self, async_client: AsyncSteel) -> None:
274274
async with async_client.profiles.with_streaming_response.update(
275275
id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
276-
user_data_dir=b"raw file contents",
276+
user_data_dir=b"Example data",
277277
) as response:
278278
assert not response.is_closed
279279
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -288,7 +288,7 @@ async def test_path_params_update(self, async_client: AsyncSteel) -> None:
288288
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
289289
await async_client.profiles.with_raw_response.update(
290290
id="",
291-
user_data_dir=b"raw file contents",
291+
user_data_dir=b"Example data",
292292
)
293293

294294
@parametrize

0 commit comments

Comments
 (0)