Skip to content

Commit

Permalink
[Librarian] Regenerated @ 7a7839b47231760a343c1db31f805001d48237b2
Browse files Browse the repository at this point in the history
  • Loading branch information
jmctwilio committed Oct 27, 2017
1 parent f2e58ee commit 0c82d14
Show file tree
Hide file tree
Showing 320 changed files with 4,464 additions and 7,535 deletions.
7 changes: 7 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ twilio-python Changelog

Here you can see the full list of changes between each twilio-python release.

[2017-10-27] Version 6.8.2
---------------------------
**Chat**
- Add Binding resource
- Add UserBinding resource


[2017-10-20] Version 6.8.1
---------------------------
**Library**
Expand Down
4 changes: 1 addition & 3 deletions tests/integration/accounts/v1/credential/test_public_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,7 @@ def test_create_request(self):
self.client.accounts.v1.credentials \
.public_key.create(public_key="publickey")

values = {
'PublicKey': "publickey",
}
values = {'PublicKey': "publickey",}

self.holodeck.assert_has_request(Request(
'post',
Expand Down
8 changes: 2 additions & 6 deletions tests/integration/api/v2010/account/call/test_feedback.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ def test_create_request(self):
.calls(sid="CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.feedback().create(quality_score=1)

values = {
'QualityScore': 1,
}
values = {'QualityScore': 1,}

self.holodeck.assert_has_request(Request(
'post',
Expand Down Expand Up @@ -101,9 +99,7 @@ def test_update_request(self):
.calls(sid="CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.feedback().update(quality_score=1)

values = {
'QualityScore': 1,
}
values = {'QualityScore': 1,}

self.holodeck.assert_has_request(Request(
'post',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,7 @@ def test_create_request(self):
.conferences(sid="CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.participants.create(from_="+987654321", to="+123456789")

values = {
'From': "+987654321",
'To': "+123456789",
}
values = {'From': "+987654321", 'To': "+123456789",}

self.holodeck.assert_has_request(Request(
'post',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,7 @@ def test_create_request(self):
.incoming_phone_numbers(sid="PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.assigned_add_ons.create(installed_add_on_sid="XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")

values = {
'InstalledAddOnSid': "XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
}
values = {'InstalledAddOnSid': "XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",}

self.holodeck.assert_has_request(Request(
'post',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,7 @@ def test_create_request(self):
.incoming_phone_numbers \
.local.create(phone_number="+987654321")

values = {
'PhoneNumber': "+987654321",
}
values = {'PhoneNumber': "+987654321",}

self.holodeck.assert_has_request(Request(
'post',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,7 @@ def test_create_request(self):
.incoming_phone_numbers \
.mobile.create(phone_number="+987654321")

values = {
'PhoneNumber': "+987654321",
}
values = {'PhoneNumber': "+987654321",}

self.holodeck.assert_has_request(Request(
'post',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,7 @@ def test_create_request(self):
.incoming_phone_numbers \
.toll_free.create(phone_number="+987654321")

values = {
'PhoneNumber': "+987654321",
}
values = {'PhoneNumber': "+987654321",}

self.holodeck.assert_has_request(Request(
'post',
Expand Down
5 changes: 1 addition & 4 deletions tests/integration/api/v2010/account/queue/test_member.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,7 @@ def test_update_request(self):
.queues(sid="QUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.members(call_sid="CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").update(url="https://example.com", method="GET")

values = {
'Url': "https://example.com",
'Method': "GET",
}
values = {'Url': "https://example.com", 'Method': "GET",}

self.holodeck.assert_has_request(Request(
'post',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,7 @@ def test_create_request(self):
.credential_lists(sid="CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.credentials.create(username="username", password="password")

values = {
'Username': "username",
'Password': "password",
}
values = {'Username': "username", 'Password': "password",}

self.holodeck.assert_has_request(Request(
'post',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ def test_create_request(self):
.domains(sid="SDaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.credential_list_mappings.create(credential_list_sid="CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")

values = {
'CredentialListSid': "CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
}
values = {'CredentialListSid': "CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",}

self.holodeck.assert_has_request(Request(
'post',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ def test_create_request(self):
.domains(sid="SDaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.ip_access_control_list_mappings.create(ip_access_control_list_sid="ALaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")

values = {
'IpAccessControlListSid': "ALaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
}
values = {'IpAccessControlListSid': "ALaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",}

self.holodeck.assert_has_request(Request(
'post',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,7 @@ def test_create_request(self):
.ip_access_control_lists(sid="ALaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.ip_addresses.create(friendly_name="friendly_name", ip_address="ip_address")

values = {
'FriendlyName': "friendly_name",
'IpAddress': "ip_address",
}
values = {'FriendlyName': "friendly_name", 'IpAddress': "ip_address",}

self.holodeck.assert_has_request(Request(
'post',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,7 @@ def test_create_request(self):
.sip \
.credential_lists.create(friendly_name="friendly_name")

values = {
'FriendlyName': "friendly_name",
}
values = {'FriendlyName': "friendly_name",}

self.holodeck.assert_has_request(Request(
'post',
Expand Down Expand Up @@ -170,9 +168,7 @@ def test_update_request(self):
.sip \
.credential_lists(sid="CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").update(friendly_name="friendly_name")

values = {
'FriendlyName': "friendly_name",
}
values = {'FriendlyName': "friendly_name",}

self.holodeck.assert_has_request(Request(
'post',
Expand Down
4 changes: 1 addition & 3 deletions tests/integration/api/v2010/account/sip/test_domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,7 @@ def test_create_request(self):
.sip \
.domains.create(domain_name="domain_name")

values = {
'DomainName': "domain_name",
}
values = {'DomainName': "domain_name",}

self.holodeck.assert_has_request(Request(
'post',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,7 @@ def test_create_request(self):
.sip \
.ip_access_control_lists.create(friendly_name="friendly_name")

values = {
'FriendlyName': "friendly_name",
}
values = {'FriendlyName': "friendly_name",}

self.holodeck.assert_has_request(Request(
'post',
Expand Down Expand Up @@ -180,9 +178,7 @@ def test_update_request(self):
.sip \
.ip_access_control_lists(sid="ALaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").update(friendly_name="friendly_name")

values = {
'FriendlyName': "friendly_name",
}
values = {'FriendlyName': "friendly_name",}

self.holodeck.assert_has_request(Request(
'post',
Expand Down
4 changes: 1 addition & 3 deletions tests/integration/api/v2010/account/test_application.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ def test_create_request(self):
self.client.api.v2010.accounts(sid="ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.applications.create(friendly_name="friendly_name")

values = {
'FriendlyName': "friendly_name",
}
values = {'FriendlyName': "friendly_name",}

self.holodeck.assert_has_request(Request(
'post',
Expand Down
15 changes: 4 additions & 11 deletions tests/integration/api/v2010/account/test_call.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ def test_create_request(self):
self.client.api.v2010.accounts(sid="ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.calls.create(to="+123456789", from_="+987654321")

values = {
'To': "+123456789",
'From': "+987654321",
}
values = {'To': "+123456789", 'From': "+987654321",}

self.holodeck.assert_has_request(Request(
'post',
Expand Down Expand Up @@ -60,7 +57,9 @@ def test_create_response(self):
"status": "completed",
"subresource_uris": {
"notifications": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications.json",
"recordings": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json"
"recordings": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json",
"feedback": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Feedback.json",
"feedback_summaries": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/FeedbackSummary.json"
},
"to": "+14158675309",
"to_formatted": "(415) 867-5309",
Expand Down Expand Up @@ -202,14 +201,11 @@ def test_read_full_response(self):
],
"end": 0,
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls.json?PageSize=1&Page=0",
"last_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls.json?PageSize=1&Page=9690",
"next_page_uri": null,
"num_pages": 9691,
"page": 0,
"page_size": 1,
"previous_page_uri": null,
"start": 0,
"total": 9691,
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls.json?PageSize=1&Page=0"
}
'''
Expand All @@ -228,14 +224,11 @@ def test_read_empty_response(self):
"calls": [],
"end": 0,
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls.json?PageSize=1&Page=0",
"last_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls.json?PageSize=1&Page=9690",
"next_page_uri": null,
"num_pages": 9691,
"page": 0,
"page_size": 1,
"previous_page_uri": null,
"start": 0,
"total": 9691,
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls.json?PageSize=1&Page=0"
}
'''
Expand Down
8 changes: 2 additions & 6 deletions tests/integration/api/v2010/account/test_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ def test_create_request(self):
self.client.api.v2010.accounts(sid="ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.messages.create(to="+123456789")

values = {
'To': "+123456789",
}
values = {'To': "+123456789",}

self.holodeck.assert_has_request(Request(
'post',
Expand Down Expand Up @@ -234,9 +232,7 @@ def test_update_request(self):
self.client.api.v2010.accounts(sid="ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.messages(sid="MMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").update(body="body")

values = {
'Body': "body",
}
values = {'Body': "body",}

self.holodeck.assert_has_request(Request(
'post',
Expand Down
4 changes: 1 addition & 3 deletions tests/integration/api/v2010/account/test_queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,7 @@ def test_create_request(self):
self.client.api.v2010.accounts(sid="ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.queues.create(friendly_name="friendly_name")

values = {
'FriendlyName': "friendly_name",
}
values = {'FriendlyName': "friendly_name",}

self.holodeck.assert_has_request(Request(
'post',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ def test_create_request(self):
self.client.api.v2010.accounts(sid="ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.validation_requests.create(phone_number="+987654321")

values = {
'PhoneNumber': "+987654321",
}
values = {'PhoneNumber': "+987654321",}

self.holodeck.assert_has_request(Request(
'post',
Expand Down
4 changes: 1 addition & 3 deletions tests/integration/chat/v1/service/channel/test_invite.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@ def test_create_request(self):
.channels(sid="CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.invites.create(identity="identity")

values = {
'Identity': "identity",
}
values = {'Identity': "identity",}

self.holodeck.assert_has_request(Request(
'post',
Expand Down
4 changes: 1 addition & 3 deletions tests/integration/chat/v1/service/channel/test_member.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ def test_create_request(self):
.channels(sid="CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.members.create(identity="identity")

values = {
'Identity': "identity",
}
values = {'Identity': "identity",}

self.holodeck.assert_has_request(Request(
'post',
Expand Down
4 changes: 1 addition & 3 deletions tests/integration/chat/v1/service/channel/test_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ def test_create_request(self):
.channels(sid="CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.messages.create(body="body")

values = {
'Body': "body",
}
values = {'Body': "body",}

self.holodeck.assert_has_request(Request(
'post',
Expand Down
10 changes: 2 additions & 8 deletions tests/integration/chat/v1/service/test_role.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,7 @@ def test_create_request(self):
self.client.chat.v1.services(sid="ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.roles.create(friendly_name="friendly_name", type="channel", permission=['permission'])

values = {
'FriendlyName': "friendly_name",
'Type': "channel",
'Permission': ['permission'],
}
values = {'FriendlyName': "friendly_name", 'Type': "channel", 'Permission': ['permission'],}

self.holodeck.assert_has_request(Request(
'post',
Expand Down Expand Up @@ -208,9 +204,7 @@ def test_update_request(self):
self.client.chat.v1.services(sid="ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.roles(sid="RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").update(permission=['permission'])

values = {
'Permission': ['permission'],
}
values = {'Permission': ['permission'],}

self.holodeck.assert_has_request(Request(
'post',
Expand Down
4 changes: 1 addition & 3 deletions tests/integration/chat/v1/service/test_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,7 @@ def test_create_request(self):
self.client.chat.v1.services(sid="ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
.users.create(identity="identity")

values = {
'Identity': "identity",
}
values = {'Identity': "identity",}

self.holodeck.assert_has_request(Request(
'post',
Expand Down
Loading

0 comments on commit 0c82d14

Please sign in to comment.