'Create a fake instance of Website from ES data.'

def fake_object(self, data):

    obj = Website(id=data['id'])
    self._attach_fields(obj, data, ('default_locale', 'icon_hash', 'mobile_url', 'promo_img_hash', 'tv_featured', 'tv_url', 'url'))
    obj.categories = data['category']
    obj.devices = data['device']
    obj.keywords_list = data['tags']
    if obj.icon_hash:
        obj.icon_type = 'image/png'
    self._attach_translations(obj, data, ('description', 'developer_name', 'name', 'short_name', 'title'))
    obj.es_data = data
    return obj
