Skip to content

Commit ad9c08a

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

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/unit/rest/test_client.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
import aiounittest
55

66
from mock import AsyncMock, Mock
7+
8+
from test import client
79
from twilio.http.response import Response
810
from twilio.rest import Client
911

@@ -80,7 +82,7 @@ def test_periods_in_query(self):
8082
def test_edge_deprecation_warning(self):
8183
with warnings.catch_warnings(record=True) as w:
8284
warnings.simplefilter("always") # Ensure all warnings are caught
83-
self.client.edge = "deprecated-edge" # Trigger the warning
85+
Client(username="username", password="password", edge="edge") # Trigger the warning
8486

8587
# Check if a warning was raised
8688
self.assertTrue(len(w) > 0)

0 commit comments

Comments
 (0)