We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent beb961d commit ad9c08aCopy full SHA for ad9c08a
tests/unit/rest/test_client.py
@@ -4,6 +4,8 @@
4
import aiounittest
5
6
from mock import AsyncMock, Mock
7
+
8
+from test import client
9
from twilio.http.response import Response
10
from twilio.rest import Client
11
@@ -80,7 +82,7 @@ def test_periods_in_query(self):
80
82
def test_edge_deprecation_warning(self):
81
83
with warnings.catch_warnings(record=True) as w:
84
warnings.simplefilter("always") # Ensure all warnings are caught
- self.client.edge = "deprecated-edge" # Trigger the warning
85
+ Client(username="username", password="password", edge="edge") # Trigger the warning
86
87
# Check if a warning was raised
88
self.assertTrue(len(w) > 0)
0 commit comments