8000 Regenerate library · PNPtutorials/twilio-python@f1ce985 · GitHub
[go: up one dir, main page]

Skip to content

Commit f1ce985

Browse files
committed
Regenerate library
1 parent 985de29 commit f1ce985

File tree

23 files changed

+1375
-1035
lines changed

23 files changed

+1375
-1035
lines changed

tests/integration/api/v2010/account/sms/__init__.py

Lines changed: 0 additions & 8 deletions
This file was deleted.

tests/integration/api/v2010/account/sms/test_sms_message.py

Lines changed: 0 additions & 257 deletions
This file was deleted.

tests/integration/api/v2010/account/test_recording.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ def test_fetch_response(self):
3838
"date_updated": "Wed, 01 Sep 2010 15:15:41 +0000",
3939
"duration": "6",
4040
"sid": "REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
41+
"price": "0.04",
42+
"price_unit": "USD",
43+
"status": "completed",
44+
"channels": 1,
45+
"source": "Trunking",
4146
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings/REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json"
4247
}
4348
'''
@@ -104,8 +109,12 @@ def test_read_full_response(self):
104109
"date_created": "Wed, 22 Aug 2012 20:58:45 +0000",
105110
"date_updated": "Wed, 22 Aug 2012 20:58:45 +0000",
106111
"duration": null,
107-
"price": null,
112+
"price": "0.04",
108113
"sid": "REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
114+
"price_unit": "USD",
115+
"status": "completed",
116+
"channels": 1,
117+
"source": "Trunking",
109118
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings/REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json"
110119
}
111120
],

tests/integration/api/v2010/account/sms/test_short_code.py renamed to tests/integration/api/v2010/account/test_short_code.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ def test_fetch_request(self):
1919

2020
with self.assertRaises(TwilioException):
2121
self.client.api.v2010.accounts(sid="ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
22-
.sms \
2322
.short_codes(sid="SCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").fetch()
2423

2524
self.holodeck.assert_has_request(Request(
@@ -49,7 +48,6 @@ def test_fetch_response(self):
4948
))
5049

5150
actual = self.client.api.v2010.accounts(sid="ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
52-
.sms \
5351
.short_codes(sid="SCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").fetch()
5452

5553
self.assertIsNotNone(actual)
@@ -59,7 +57,6 @@ def test_update_request(self):
5957

6058
with self.assertRaises(TwilioException):
6159
self.client.api.v2010.accounts(sid="ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
62-
.sms \
6360
.short_codes(sid="SCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").update()
6461

6562
self.holodeck.assert_has_request(Request(
@@ -89,7 +86,6 @@ def test_update_response(self):
8986
))
9087

9188
actual = self.client.api.v2010.accounts(sid="ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
92-
.sms \
9389
.short_codes(sid="SCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").update()
9490

9591
self.assertIsNotNone(actual)
@@ -99,7 +95,6 @@ def test_list_request(self):
9995

10096
with self.assertRaises(TwilioException):
10197
self.client.api.v2010.accounts(sid="ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
102-
.sms \
10398
.short_codes.list()
10499

105100
self.holodeck.assert_has_request(Request(
@@ -144,7 +139,6 @@ def test_read_full_response(self):
144139
))
145140

146141
actual = self.client.api.v2010.accounts(sid="ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
147-
.sms \
148142
.short_codes.list()
149143

150144
self.assertIsNotNone(actual)
@@ -171,7 +165,6 @@ def test_read_empty_response(self):
171165
))
172166

173167
actual = self.client.api.v2010.accounts(sid="ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
174-
.sms \
175168
.short_codes.list()
176169

177170
self.assertIsNotNone(actual)

tests/integration/api/v2010/account/test_sms.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)
0