Skip to content

Commit 187f506

Browse files
Cover whitespace-trimmed URL path normalization
Co-authored-by: Shri Sukhani <shrisukhani@users.noreply.github.com>
1 parent d038975 commit 187f506

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/test_url_building.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def test_client_build_url_uses_normalized_base_url():
3030
)
3131
try:
3232
assert client._build_url("/session") == "https://example.local/api/session"
33+
assert client._build_url(" session ") == "https://example.local/api/session"
3334
finally:
3435
client.close()
3536

0 commit comments

Comments
 (0)