Skip to content

Commit 8ff9f32

Browse files
chore: update placeholder string
1 parent 99d0409 commit 8ff9f32

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

tests/api_resources/sessions/test_uploads.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ class TestUploads:
2121
def test_method_create(self, client: Browserbase) -> None:
2222
upload = client.sessions.uploads.create(
2323
id="id",
24-
file=b"raw file contents",
24+
file=b"Example data",
2525
)
2626
assert_matches_type(UploadCreateResponse, upload, path=["response"])
2727

2828
@parametrize
2929
def test_raw_response_create(self, client: Browserbase) -> None:
3030
response = client.sessions.uploads.with_raw_response.create(
3131
id="id",
32-
file=b"raw file contents",
32+
file=b"Example data",
3333
)
3434

3535
assert response.is_closed is True
@@ -41,7 +41,7 @@ def test_raw_response_create(self, client: Browserbase) -> None:
4141
def test_streaming_response_create(self, client: Browserbase) -> None:
4242
with client.sessions.uploads.with_streaming_response.create(
4343
id="id",
44-
file=b"raw file contents",
44+
file=b"Example data",
4545
) as response:
4646
assert not response.is_closed
4747
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -56,7 +56,7 @@ def test_path_params_create(self, client: Browserbase) -> None:
5656
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
5757
client.sessions.uploads.with_raw_response.create(
5858
id="",
59-
file=b"raw file contents",
59+
file=b"Example data",
6060
)
6161

6262

@@ -69,15 +69,15 @@ class TestAsyncUploads:
6969
async def test_method_create(self, async_client: AsyncBrowserbase) -> None:
7070
upload = await async_client.sessions.uploads.create(
7171
id="id",
72-
file=b"raw file contents",
72+
file=b"Example data",
7373
)
7474
assert_matches_type(UploadCreateResponse, upload, path=["response"])
7575

7676
@parametrize
7777
async def test_raw_response_create(self, async_client: AsyncBrowserbase) -> None:
7878
response = await async_client.sessions.uploads.with_raw_response.create(
7979
id="id",
80-
file=b"raw file contents",
80+
file=b"Example data",
8181
)
8282

8383
assert response.is_closed is True
@@ -89,7 +89,7 @@ async def test_raw_response_create(self, async_client: AsyncBrowserbase) -> None
8989
async def test_streaming_response_create(self, async_client: AsyncBrowserbase) -> None:
9090
async with async_client.sessions.uploads.with_streaming_response.create(
9191
id="id",
92-
file=b"raw file contents",
92+
file=b"Example data",
9393
) as response:
9494
assert not response.is_closed
9595
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -104,5 +104,5 @@ async def test_path_params_create(self, async_client: AsyncBrowserbase) -> None:
104104
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
105105
await async_client.sessions.uploads.with_raw_response.create(
106106
id="",
107-
file=b"raw file contents",
107+
file=b"Example data",
108108
)

tests/api_resources/test_extensions.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ class TestExtensions:
2020
@parametrize
2121
def test_method_create(self, client: Browserbase) -> None:
2222
extension = client.extensions.create(
23-
file=b"raw file contents",
23+
file=b"Example data",
2424
)
2525
assert_matches_type(Extension, extension, path=["response"])
2626

2727
@parametrize
2828
def test_raw_response_create(self, client: Browserbase) -> None:
2929
response = client.extensions.with_raw_response.create(
30-
file=b"raw file contents",
30+
file=b"Example data",
3131
)
3232

3333
assert response.is_closed is True
@@ -38,7 +38,7 @@ def test_raw_response_create(self, client: Browserbase) -> None:
3838
@parametrize
3939
def test_streaming_response_create(self, client: Browserbase) -> None:
4040
with client.extensions.with_streaming_response.create(
41-
file=b"raw file contents",
41+
file=b"Example data",
4242
) as response:
4343
assert not response.is_closed
4444
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -133,14 +133,14 @@ class TestAsyncExtensions:
133133
@parametrize
134134
async def test_method_create(self, async_client: AsyncBrowserbase) -> None:
135135
extension = await async_client.extensions.create(
136-
file=b"raw file contents",
136+
file=b"Example data",
137137
)
138138
assert_matches_type(Extension, extension, path=["response"])
139139

140140
@parametrize
141141
async def test_raw_response_create(self, async_client: AsyncBrowserbase) -> None:
142142
response = await async_client.extensions.with_raw_response.create(
143-
file=b"raw file contents",
143+
file=b"Example data",
144144
)
145145

146146
assert response.is_closed is True
@@ -151,7 +151,7 @@ async def test_raw_response_create(self, async_client: AsyncBrowserbase) -> None
151151
@parametrize
152152
async def test_streaming_response_create(self, async_client: AsyncBrowserbase) -> None:
153153
async with async_client.extensions.with_streaming_response.create(
154-
file=b"raw file contents",
154+
file=b"Example data",
155155
) as response:
156156
assert not response.is_closed
157157
assert response.http_request.headers.get("X-Stainless-Lang") == "python"

0 commit comments

Comments
 (0)