Skip to content

Commit 088cb7f

Browse files
authored
fix: remove extraneous char in test (#389)
1 parent c4a81fb commit 088cb7f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/_async/test_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ async def test_client_create_signed_url(
386386
response.raise_for_status()
387387
assert (
388388
response.headers["content-disposition"]
389-
== "attachment; filename=custom_download.svg; filename*=UTF-8''custom_download.svg;"
389+
== "attachment; filename=custom_download.svg; filename*=UTF-8''custom_download.svg"
390390
)
391391
assert response.content == file.file_content
392392

@@ -449,7 +449,7 @@ async def test_client_get_public_url(
449449
response.raise_for_status()
450450
assert (
451451
response.headers["content-disposition"]
452-
== "attachment; filename=custom_name.svg; filename*=UTF-8''custom_name.svg;"
452+
== "attachment; filename=custom_name.svg; filename*=UTF-8''custom_name.svg"
453453
)
454454
assert response.content == file.file_content
455455

tests/_sync/test_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ def test_client_create_signed_url(
382382
response.raise_for_status()
383383
assert (
384384
response.headers["content-disposition"]
385-
== "attachment; filename=custom_download.svg; filename*=UTF-8''custom_download.svg;"
385+
== "attachment; filename=custom_download.svg; filename*=UTF-8''custom_download.svg"
386386
)
387387
assert response.content == file.file_content
388388

@@ -445,7 +445,7 @@ def test_client_get_public_url(
445445
response.raise_for_status()
446446
assert (
447447
response.headers["content-disposition"]
448-
== "attachment; filename=custom_name.svg; filename*=UTF-8''custom_name.svg;"
448+
== "attachment; filename=custom_name.svg; filename*=UTF-8''custom_name.svg"
449449
)
450450
assert response.content == file.file_content
451451

0 commit comments

Comments
 (0)