Fix broken profile API test

This commit is contained in:
Will Daly
2014-10-16 10:24:00 -04:00
parent 8761eaf3dd
commit c0582cc437
2 changed files with 7 additions and 1 deletions

View File

@@ -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

View File

@@ -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):