'You can log in even if your password contain non-ASCII characters.'

def test_non_ascii_login(self):

    email = self.nonreg_email('test')
    password = u'h\xc3\xbcmb\xc3\xbc\xc7\xb5'
    self.register(email, password)
    user_profile = self.nonreg_user('test')
    self.assertEqual(get_session_dict_user(self.client.session), user_profile.id)
    self.logout()
    self.assertIsNone(get_session_dict_user(self.client.session))
    self.logout()
    self.login(email, password)
    self.assertEqual(get_session_dict_user(self.client.session), user_profile.id)
