Skip to content

Commit 2f408c8

Browse files
committed
removed assistant cluster test
1 parent becbfc5 commit 2f408c8

1 file changed

Lines changed: 6 additions & 11 deletions

File tree

tests/cluster/test_cluster.py

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77

88
class ClusterTest(unittest.TestCase):
99
def setUp(self):
10-
self.from_number = os.environ["TWILIO_FROM_NUMBER"]
11-
self.to_number = os.environ["TWILIO_TO_NUMBER"]
12-
self.api_key = os.environ["TWILIO_API_KEY"]
13-
self.api_secret = os.environ["TWILIO_API_SECRET"]
14-
self.account_sid = os.environ["TWILIO_ACCOUNT_SID"]
15-
self.assistant_id = os.environ["ASSISTANT_ID"]
10+
self.from_number = '+14049946901'
11+
self.to_number = '+14157046560'
12+
self.api_key = 'SK773589ef6de31a295597692ac4c8c238'
13+
self.api_secret = 'bUYGWRpejBJl3JtNy9LUYh0XDXIWXNz0'
14+
self.account_sid = 'ACb13db02a2852114888cb2144f41652e4'
15+
self.assistant_id = '123'
1616
self.client = Client(
1717
username=self.api_key,
1818
password=self.api_secret,
@@ -66,11 +66,6 @@ def test_list_available_numbers(self):
6666
self.assertIsNotNone(toll_free_numbers)
6767
self.assertEqual(len(toll_free_numbers), 2)
6868

69-
def test_fetch_assistant(self):
70-
assistant = self.client.assistants.v1.assistants(self.assistant_id).fetch()
71-
self.assertIsNotNone(assistant)
72-
self.assertEqual(assistant.account_sid, self.account_sid)
73-
7469
def test_calling_twiml_string(self):
7570
call = self.client.calls.create(
7671
to=self.to_number, from_=self.from_number, twiml=str(self.voice_twiml)

0 commit comments

Comments
 (0)