Skip to content

Commit c8e270f

Browse files
committed
fix: Regional API domain processing
1 parent ad9c08a commit c8e270f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/rest/test_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def test_set_client_region(self):
2525
self.client.region = "us1"
2626
self.assertEqual(
2727
self.client.get_hostname("https://api.twilio.com"),
28-
"https://api.ashburn.us1.twilio.com",
28+
"https://api.us1.twilio.com",
2929
)
3030

3131
def test_set_uri_region(self):
@@ -39,7 +39,7 @@ def test_set_client_edge_region(self):
3939
self.client.region = "region"
4040
self.assertEqual(
4141
self.client.get_hostname("https://api.twilio.com"),
42-
"https://api.ashburn.us1.region.twilio.com",
42+
"https://api.edge.region.twilio.com",
4343
)
4444

4545
def test_set_client_edge_uri_region(self):

0 commit comments

Comments
 (0)