'Returns the expected user profile data for a given username'

def get_expected_user_profile(self, username):

    url = u'http://example-storage.com/profile-images/{filename}_{{size}}.jpg?v={timestamp}'.format(filename=hashlib.md5((u'secret' + username)).hexdigest(), timestamp=self.TEST_PROFILE_IMAGE_UPLOADED_AT.strftime(u'%s'))
    return {u'profile': {u'image': {u'has_image': True, u'image_url_full': url.format(size=500), u'image_url_large': url.format(size=120), u'image_url_medium': url.format(size=50), u'image_url_small': url.format(size=30)}}}
