Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ffcc28e

Browse files
committed
Update library with visibility
1 parent 127a267 commit ffcc28e

File tree

164 files changed

+9172
-402
lines changed

Some content is hidden

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

164 files changed

+9172
-402
lines changed

tests/__init__.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,15 @@
1+
import unittest
12

3+
from tests.holodeck import Holodeck
4+
from twilio.rest import Client
5+
6+
7+
class IntegrationTestCase(unittest.TestCase):
8+
def setUp(self):
9+
super(IntegrationTestCase, self).setUp()
10+
self.account_sid = 'AC' + 'a' * 32
11+
self.auth_token = 'AUTHTOKEN'
12+
self.holodeck = Holodeck()
13+
self.client = Client(username=self.account_sid,
14+
password=self.auth_token,
15+
http_client=self.holodeck)
File renamed without changes.

tests/integration/__init__.py

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
1-
import unittest
1+
# coding=utf-8
2+
"""
3+
This code was generated by
4+
\ / _ _ _| _ _
5+
| (_)\/(_)(_|\/| |(/_ v1.0.0
6+
/ /
7+
"""
28

3-
from tests.integration.holodeck import Holodeck
4-
from twilio.rest import Client
5-
6-
7-
class IntegrationTestCase(unittest.TestCase):
8-
def setUp(self):
9-
super(IntegrationTestCase, self).setUp()
10-
self.account_sid = 'AC' + 'a' * 32
11-
self.auth_token = 'AUTHTOKEN'
12-
self.holodeck = Holodeck()
13-
self.client = Client(username=self.account_sid,
14-
password=self.auth_token,
15-
http_client=self.holodeck)

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
/ /
77
"""
88

9-
from tests.integration import IntegrationTestCase
10-
from tests.integration.holodeck import Request
9+
from tests import IntegrationTestCase
10+
from tests.holodeck import Request
1111
from twilio.exceptions import TwilioException
1212
from twilio.http.response import Response
1313

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
/ /
77
"""
88

9-
from tests.integration import IntegrationTestCase
10-
from tests.integration.holodeck import Request
9+
from tests import IntegrationTestCase
10+
from tests.holodeck import Request
1111
from twilio.exceptions import TwilioException
1212
from twilio.http.response import Response
1313

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
/ /
77
"""
88

9-
from tests.integration import IntegrationTestCase
10-
from tests.integration.holodeck import Request
9+
from tests import IntegrationTestCase
10+
from tests.holodeck import Request
1111
from twilio.exceptions import TwilioException
1212
from twilio.http.response import Response
1313

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
/ /
77
"""
88

9-
from tests.integration import IntegrationTestCase
10-
from tests.integration.holodeck import Request
9+
from tests import IntegrationTestCase
10+
from tests.holodeck import Request
1111
from twilio.exceptions import TwilioException
1212
from twilio.http.response import Response
1313

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
/ /
77
"""
88

9-
from tests.integration import IntegrationTestCase
10-
from tests.integration.holodeck import Request
9+
from tests import IntegrationTestCase
10+
from tests.holodeck import Request
1111
from twilio.exceptions import TwilioException
1212
from twilio.http.response import Response
1313

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"""
88

99
from datetime import date
10-
from tests.integration import IntegrationTestCase
11-
from tests.integration.holodeck import Request
10+
from tests import IntegrationTestCase
11+
from tests.holodeck import Request
1212
from twilio import serialize
1313
from twilio.exceptions import TwilioException
1414
from twilio.http.response import Response

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
/ /
77
"""
88

9-
from tests.integration import IntegrationTestCase
10-
from tests.integration.holodeck import Request
9+
from tests import IntegrationTestCase
10+
from tests.holodeck import Request
1111
from twilio.exceptions import TwilioException
1212
from twilio.http.response import Response
1313

0 commit comments

Comments
 (0)