Skip to content

Commit c8be2b1

Browse files
committed
fix base url tests
1 parent c9102e0 commit c8be2b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/unit/test_async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def test_init_with_default_base_url(self):
5050

5151
async_together = AsyncTogether(api_key="fake_api_key")
5252

53-
assert async_together.client.base_url == "https://api.together.xyz/v1/"
53+
assert async_together.client.base_url == "https://api.together.xyz/"
5454

5555
def test_init_with_supplied_headers(self):
5656
"""

tests/unit/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def test_init_with_default_base_url(self):
5151
with patch.dict("os.environ", clear=True):
5252
sync_together = Together(api_key="fake_api_key")
5353

54-
assert sync_together.client.base_url == "https://api.together.xyz/v1/"
54+
assert sync_together.client.base_url == "https://api.together.xyz/"
5555

5656
def test_init_with_supplied_headers(self):
5757
"""

0 commit comments

Comments
 (0)