Skip to content

Commit f9883db

Browse files
chore: update placeholder string
1 parent 3f5692e commit f9883db

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/api_resources/test_assets.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,14 @@ def test_streaming_response_serve(self, client: BeeperDesktop) -> None:
8686
@parametrize
8787
def test_method_upload(self, client: BeeperDesktop) -> None:
8888
asset = client.assets.upload(
89-
file=b"raw file contents",
89+
file=b"Example data",
9090
)
9191
assert_matches_type(AssetUploadResponse, asset, path=["response"])
9292

9393
@parametrize
9494
def test_method_upload_with_all_params(self, client: BeeperDesktop) -> None:
9595
asset = client.assets.upload(
96-
file=b"raw file contents",
96+
file=b"Example data",
9797
file_name="fileName",
9898
mime_type="mimeType",
9999
)
@@ -102,7 +102,7 @@ def test_method_upload_with_all_params(self, client: BeeperDesktop) -> None:
102102
@parametrize
103103
def test_raw_response_upload(self, client: BeeperDesktop) -> None:
104104
response = client.assets.with_raw_response.upload(
105-
file=b"raw file contents",
105+
file=b"Example data",
106106
)
107107

108108
assert response.is_closed is True
@@ -113,7 +113,7 @@ def test_raw_response_upload(self, client: BeeperDesktop) -> None:
113113
@parametrize
114114
def test_streaming_response_upload(self, client: BeeperDesktop) -> None:
115115
with client.assets.with_streaming_response.upload(
116-
file=b"raw file contents",
116+
file=b"Example data",
117117
) as response:
118118
assert not response.is_closed
119119
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -234,14 +234,14 @@ async def test_streaming_response_serve(self, async_client: AsyncBeeperDesktop)
234234
@parametrize
235235
async def test_method_upload(self, async_client: AsyncBeeperDesktop) -> None:
236236
asset = await async_client.assets.upload(
237-
file=b"raw file contents",
237+
file=b"Example data",
238238
)
239239
assert_matches_type(AssetUploadResponse, asset, path=["response"])
240240

241241
@parametrize
242242
async def test_method_upload_with_all_params(self, async_client: AsyncBeeperDesktop) -> None:
243243
asset = await async_client.assets.upload(
244-
file=b"raw file contents",
244+
file=b"Example data",
245245
file_name="fileName",
246246
mime_type="mimeType",
247247
)
@@ -250,7 +250,7 @@ async def test_method_upload_with_all_params(self, async_client: AsyncBeeperDesk
250250
@parametrize
251251
async def test_raw_response_upload(self, async_client: AsyncBeeperDesktop) -> None:
252252
response = await async_client.assets.with_raw_response.upload(
253-
file=b"raw file contents",
253+
file=b"Example data",
254254
)
255255

256256
assert response.is_closed is True
@@ -261,7 +261,7 @@ async def test_raw_response_upload(self, async_client: AsyncBeeperDesktop) -> No
261261
@parametrize
262262
async def test_streaming_response_upload(self, async_client: AsyncBeeperDesktop) -> None:
263263
async with async_client.assets.with_streaming_response.upload(
264-
file=b"raw file contents",
264+
file=b"Example data",
265265
) as response:
266266
assert not response.is_closed
267267
assert response.http_request.headers.get("X-Stainless-Lang") == "python"

0 commit comments

Comments
 (0)