'Username is set as the value of name if no username is provided.
This matches the v2.0 spec where we really should be using username
and not name.'

def test_username_is_always_returned_create(self):

    r = self.create_user()
    self.assertValidUserResponse(r)
    user = self.get_user_from_response(r)
    self.assertEqual(user.get('name'), user.get('username'))
