8000 update test client · juggernaut/twilio-python@e10e582 · GitHub
[go: up one dir, main page]

Skip to content

Commit e10e582

Browse files
author
Kevin Burke
committed
update test client
1 parent ac21592 commit e10e582

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tests/test_client.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ def setUp(self):
2020
def test_request(self, mock):
2121
self.client.request("2010-04-01", method="GET")
2222
mock.assert_called_with("GET", "https://api.twilio.com/2010-04-01",
23-
headers={"User-Agent": 'twilio-python'}, params={},
24-
auth=AUTH, data=None)
23+
headers={"User-Agent": 'twilio-python',
24+
'Accept-Charset': 'utf-8'},
25+
params={}, auth=AUTH, data=None)
2526

2627
def test_connect_apps(self):
2728
self.assertIsInstance(self.client.connect_apps,

tests/test_make_request.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
get_headers = {
1313
"User-Agent": "twilio-python/%s" % (twilio.__version__),
14+
"Accept-Charset": "utf-8",
1415
"Accept": "application/json",
1516
}
1617

0 commit comments

Comments
 (0)
0