Function | set_branding | Set the icon, logo and mugshot fields on the given browser instance. |
Setting any of the image parameters to False will NOT set that particular item. This allows us to use the function to test branding on IPerson and ISprint which do not allow the setting of custom icons.
This function expects that the given browser instance contains a set of field.icon, field.logo and field.mugshot fields, as generated by an ImageChangeWidget.