Fix broken profile API test
This commit is contained in:
@@ -73,7 +73,7 @@ def profile_info(username):
|
||||
"year_of_birth": profile.year_of_birth,
|
||||
"goals": profile.goals,
|
||||
"city": profile.city,
|
||||
"country": profile.country,
|
||||
"country": unicode(profile.country),
|
||||
}
|
||||
|
||||
return profile_dict
|
||||
|
||||
@@ -28,6 +28,12 @@ class ProfileApiTest(TestCase):
|
||||
'username': self.USERNAME,
|
||||
'email': self.EMAIL,
|
||||
'full_name': u'',
|
||||
'goals': None,
|
||||
'level_of_education': None,
|
||||
'mailing_address': None,
|
||||
'year_of_birth': None,
|
||||
'country': '',
|
||||
'city': None,
|
||||
})
|
||||
|
||||
def test_update_full_name(self):
|
||||
|
||||
Reference in New Issue
Block a user