8000 Rename read() to list() · rbachman/twilio-python@eec0ee6 · GitHub
[go: up one dir, main page]

Skip to content

Commit eec0ee6

Browse files
author
matt
committed
Rename read() to list()
1 parent 70114c3 commit eec0ee6

File tree

68 files changed

+68
-68
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+68
-68
lines changed

tests/integration/api/v2010/account/address/test_dependent_phone_number.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class DependentPhoneNumberTestCase(IntegrationTestCase):
1616

17-
def test_read_request(self):
17+
def test_list_request(self):
1818
self.holodeck.mock(Response(500, ''))
1919

2020
with self.assertRaises(TwilioException):

tests/integration/api/v2010/account/available_phone_number/test_local.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class LocalTestCase(IntegrationTestCase):
1616

17-
def test_read_request(self):
17+
def test_list_request(self):
1818
self.holodeck.mock(Response(500, ''))
1919

2020
with self.assertRaises(TwilioException):

tests/integration/api/v2010/account/available_phone_number/test_mobile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class MobileTestCase(IntegrationTestCase):
1616

17-
def test_read_request(self):
17+
def test_list_request(self):
1818
self.holodeck.mock(Response(500, ''))
1919

2020
with self.assertRaises(TwilioException):

tests/integration/api/v2010/account/available_phone_number/test_toll_free.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class TollFreeTestCase(IntegrationTestCase):
1616

17-
def test_read_request(self):
17+
def test_list_request(self):
1818
self.holodeck.mock(Response(500, ''))
1919

2020
with self.assertRaises(TwilioException):

tests/integration/api/v2010/account/call/test_notification.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def test_delete_response(self):
8484

8585
self.assertTrue(actual)
8686

87-
def test_read_request(self):
87+
def test_list_request(self):
8888
self.holodeck.mock(Response(500, ''))
8989

9090
with self.assertRaises(TwilioException):

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def test_delete_response(self):
7676

7777
self.assertTrue(actual)
7878

79-
def test_read_request(self):
79+
def test_list_request(self):
8080
self.holodeck.mock(Response(500, ''))
8181

8282
with self.assertRaises(TwilioException):

tests/integration/api/v2010/account/conference/test_participant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def test_delete_response(self):
118118

119119
self.assertTrue(actual)
120120

121-
def test_read_request(self):
121+
def test_list_request(self):
122122
self.holodeck.mock(Response(500, ''))
123123

124124
with self.assertRaises(TwilioException):

tests/integration/api/v2010/account/incoming_phone_number/test_local.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class LocalTestCase(IntegrationTestCase):
1616

17-
def test_read_request(self):
17+
def test_list_request(self):
1818
self.holodeck.mock(Response(500, ''))
1919

2020
with self.assertRaises(TwilioException):

tests/integration/api/v2010/account/incoming_phone_number/test_mobile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class MobileTestCase(IntegrationTestCase):
1616

17-
def test_read_request(self):
17+
def test_list_request(self):
1818
self.holodeck.mock(Response(500, ''))
1919

2020
with self.assertRaises(TwilioException):

tests/integration/api/v2010/account/incoming_phone_number/test_toll_free.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class TollFreeTestCase(IntegrationTestCase):
1616

17-
def test_read_request(self):
17+
def test_list_request(self):
1818
self.holodeck.mock(Response(500, ''))
1919

2020
with self.assertRaises(TwilioException):

tests/integration/api/v2010/account/message/test_media.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def test_fetch_response(self):
7474

7575
self.assertIsNotNone(actual)
7676

77-
def test_read_request(self):
77+
def test_list_request(self):
7878
self.holodeck.mock(Response(500, ''))
7979

8080
with self.assertRaises(TwilioException):

tests/integration/api/v2010/account/queue/test_member.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def test_update_response(self):
8686

8787
self.assertIsNotNone(actual)
8888

89-
def test_read_request(self):
89+
def test_list_request(self):
9090
self.holodeck.mock(Response(500, ''))
9191

9292
with self.assertRaises(TwilioException):

tests/integration/api/v2010/account/recording/test_transcription.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def test_delete_response(self):
8080

8181
self.assertTrue(actual)
8282

83-
def test_read_request(self):
83+
def test_list_request(self):
8484
self.holodeck.mock(Response(500, ''))
8585

8686
with self.assertRaises(TwilioException):

tests/integration/api/v2010/account/sip/credential_list/test_credential.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class CredentialTestCase(IntegrationTestCase):
1616

17-
def test_read_request(self):
17+
def test_list_request(self):
1818
self.holodeck.mock(Response(500, ''))
1919

2020
with self.assertRaises(TwilioException):

tests/integration/api/v2010/account/sip/domain/test_credential_list_mapping.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def test_create_response(self):
5858

5959
self.assertIsNotNone(actual)
6060

61-
def test_read_request(self):
61+
def test_list_request(self):
6262
self.holodeck.mock(Response(500, ''))
6363

6464
with self.assertRaises(TwilioException):

tests/integration/api/v2010/account/sip/domain/test_ip_access_control_list_mapping.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def test_create_response(self):
9797

9898
self.assertIsNotNone(actual)
9999

100-
def test_read_request(self):
100+
def test_list_request(self):
101101
self.holodeck.mock(Response(500, ''))
102102

103103
with self.assertRaises(TwilioException):

tests/integration/api/v2010/account/sip/ip_access_control_list/test_ip_address.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class IpAddressTestCase(IntegrationTestCase):
1616

17-
def test_read_request(self):
17+
def test_list_request(self):
1818
self.holodeck.mock(Response(500, ''))
1919

2020
with self.assertRaises(TwilioException):

tests/integration/api/v2010/account/sip/test_credential_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class CredentialListTestCase(IntegrationTestCase):
1616

17-
def test_read_request(self):
17+
def test_list_request(self):
1818
self.holodeck.mock(Response(500, ''))
1919

2020
with self.assertRaises(TwilioException):

tests/integration/api/v2010/account/sip/test_domain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class DomainTestCase(IntegrationTestCase):
1616

17-
def test_read_request(self):
17+
def test_list_request(self):
1818
self.holodeck.mock(Response(500, ''))
1919

2020
with self.assertRaises(TwilioException):

tests/integration/api/v2010/account/sip/test_ip_access_control_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class IpAccessControlListTestCase(IntegrationTestCase):
1616

17-
def test_read_request(self):
17+
def test_list_request(self):
1818
self.holodeck.mock(Response(500, ''))
1919

2020
with self.assertRaises(TwilioException):

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def test_update_response(self):
9494

9595
self.assertIsNotNone(actual)
9696

97-
def test_read_request(self):
97+
def test_list_request(self):
9898
self.holodeck.mock(Response(500, ''))
9999

100100
with self.assertRaises(TwilioException):

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def test_fetch_response(self):
129129

130130
self.assertIsNotNone(actual)
131131

132-
def test_read_request(self):
132+
def test_list_request(self):
133133
self.holodeck.mock(Response(500, ''))
134134

135135
with self.assertRaises(TwilioException):

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def test_update_response(self):
161161

162162
self.assertIsNotNone(actual)
163163

164-
def test_read_request(self):
164+
def test_list_request 741A (self):
165165
self.holodeck.mock(Response(500, ''))
166166

167167
with self.assertRaises(TwilioException):

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def test_fetch_response(self):
134134

135135
self.assertIsNotNone(actual)
136136

137-
def test_read_request(self):
137+
def test_list_request(self):
138138
self.holodeck.mock(Response(500, ''))
139139

140140
with self.assertRaises(TwilioException):

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def test_fetch_response(self):
5252

5353
self.assertIsNotNone(actual)
5454

55-
def test_read_request(self):
55+
def test_list_request(self):
5656
self.holodeck.mock(Response(500, ''))
5757

5858
with self.assertRaises(TwilioException):

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class AvailablePhoneNumberCountryTestCase(IntegrationTestCase):
1616

17-
def test_read_request(self):
17+
def test_list_request(self):
1818
self.holodeck.mock(Response(500, ''))
1919

2020
with self.assertRaises(TwilioException):

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def test_fetch_response(self):
151151

152152
self.assertIsNotNone(actual)
153153

154-
def test_read_request(self):
154+
def test_list_request(self):
155155
self.holodeck.mock(Response(500, ''))
156156

157157
with self.assertRaises(TwilioException):

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def test_fetch_response(self):
5151

5252
self.assertIsNotNone(actual)
5353

54-
def test_read_request(self):
54+
def test_list_request(self):
5555
self.holodeck.mock(Response(500, ''))
5656

5757
with self.assertRaises(TwilioException):

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def test_update_response(self):
8888

8989
self.assertIsNotNone(actual)
9090

91-
def test_read_request(self):
91+
def test_list_request(self):
9292
self.holodeck.mock(Response(500, ''))
9393

9494
with self.assertRaises(TwilioException):

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def test_delete_response(self):
147147

148148
self.assertTrue(actual)
149149

150-
def test_read_request(self):
150+
def test_list_request(self):
151151
self.holodeck.mock(Response(500, ''))
152152

153153
with self.assertRaises(TwilioException):

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def test_fetch_response(self):
137137

138138
self.assertIsNotNone(actual)
139139

140-
def test_read_request(self):
140+
def test_list_request(self):
141141
self.holodeck.mock(Response(500, ''))
142142

143143
with self.assertRaises(TwilioException):

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def test_delete_response(self):
8080

8181
self.assertTrue(actual)
8282

83-
def test_read_request(self):
83+
def test_list_request(self):
8484
self.holodeck.mock(Response(500, ''))
8585

8686
with self.assertRaises(TwilioException):

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def test_delete_response(self):
103103

104104
self.assertTrue(actual)
105105

106-
def test_read_request(self):
106+
def test_list_request(self):
107107
self.holodeck.mock(Response(500, ''))
108108

109109
with self.assertRaises(TwilioException):

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def test_delete_response(self):
107107

108108
self.assertTrue(actual)
109109

110-
def test_read_request(self):
110+
def test_list_request(self):
111111
self.holodeck.mock(Response(500, ''))
112112

113113
with self.assertRaises(TwilioException):

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def test_delete_response(self):
7171

7272
self.assertTrue(actual)
7373

74-
def test_read_request(self):
74+
def test_list_request(self):
7575
self.holodeck.mock(Response(500, ''))
7676

7777
with self.assertRaises(TwilioException):

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def test_delete_response(self):
7676

7777
self.assertTrue(actual)
7878

79-
def test_read_request(self):
79+
def test_list_request(self):
8080
self.holodeck.mock(Response(500, ''))
8181

8282
with self.assertRaises(TwilioException):

tests/integration/api/v2010/account/usage/record/test_all_time.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class AllTimeTestCase(IntegrationTestCase):
1616

17-
def test_read_request(self):
17+
def test_list_request(self):
1818
self.holodeck.mock(Response(500, ''))
1919

2020
with self.assertRaises(TwilioException):

tests/integration/api/v2010/account/usage/record/test_daily.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class DailyTestCase(IntegrationTestCase):
1616

17-
def test_read_request(self):
17+
def test_list_request(self):
1818
self.holodeck.mock(Response(500, ''))
1919

2020
with self.assertRaises(TwilioException):

tests/integration/api/v2010/account/usage/record/test_last_month.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class LastMonthTestCase(IntegrationTestCase):
1616

17-
def test_read_request(self):
17+
def test_list_request(self):
1818
self.holodeck.mock(Response(500, ''))
1919

2020
with self.assertRaises(TwilioException):

tests/integration/api/v2010/account/usage/record/test_monthly.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class MonthlyTestCase(IntegrationTestCase):
1616

17-
def test_read_request(self):
17+
def test_list_request(self):
1818
self.holodeck.mock(Response(500, ''))
1919

2020
with self.assertRaises(TwilioException):

tests/integration/api/v2010/account/usage/record/test_this_month.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class ThisMonthTestCase(IntegrationTestCase):
1616

17-
def test_read_request(self):
17+
def test_list_request(self):
1818
self.holodeck.mock(Response(500, ''))
1919

2020
with self.assertRaises(TwilioException):

tests/integration/api/v2010/account/usage/record/test_today.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class TodayTestCase(IntegrationTestCase):
1616

17-
def test_read_request(self):
17+
def test_list_request(self):
1818
self.holodeck.mock(Response(500, ''))
1919

2020
with self.assertRaises(TwilioException):

tests/integration/api/v2010/account/usage/record/test_yearly.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class YearlyTestCase(IntegrationTestCase):
1616

17-
def test_read_request(self):
17+
def test_list_request(self):
1818
self.holodeck.mock(Response(500, ''))
1919

2020
with self.assertRaises(TwilioException):

tests/integration/api/v2010/account/usage/record/test_yesterday.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class YesterdayTestCase(IntegrationTestCase):
1616

17-
def test_read_request(self):
17+
def test_list_request(self):
1818
self.holodeck.mock(Response(500, ''))
1919

2020
with self.assertRaises(TwilioException):

0 commit comments

Comments
 (0)
0