Fix for phonenumber test failing (unicode issue)
A different exception was being thrown in py27 since we passed in non-unicode characters for the name field.
This commit is contained in:
@@ -90,8 +90,8 @@ class TestPhoneNumber(object):
|
||||
try:
|
||||
session.execute(
|
||||
User.__table__.insert().values(
|
||||
name='Someone',
|
||||
phone_number='abc'
|
||||
name=u'Someone',
|
||||
phone_number=u'abc'
|
||||
)
|
||||
)
|
||||
except PhoneNumberParseException:
|
||||
|
Reference in New Issue
Block a user