8000 One more u-string · RekindleInc/twilio-python@e8a04b4 · GitHub
[go: up one dir, main page]

Skip to content

Commit e8a04b4

Browse files
committed
One more u-string
1 parent 5862f99 commit e8a04b4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test_messages.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
from datetime import date
88
from mock import Mock
9+
from six import u
910
from twilio.rest.resources import Messages
1011

1112
DEFAULT = {
@@ -45,12 +46,12 @@ def test_create(self):
4546
self.resource.create(
4647
from_='+14155551234',
4748
to='+14155556789',
48-
body=u'ahoy hoy',
49+
body=u('ahoy hoy'),
4950
)
5051
self.resource.create_instance.assert_called_with(
5152
{
5253
'from': '+14155551234',
5354
'to': '+14155556789',
54-
'body': u'ahoy hoy',
55+
'body': u('ahoy hoy'),
5556
},
5657
)

0 commit comments

Comments
 (0)
0