'A dictionary representing the expected fields in a "settings changed" event.'

def expected_settings_changed_event(self, setting, old, new, table=None):

    return {'username': self.username, 'referer': self.get_settings_page_url(), 'event': {'user_id': self.user_id, 'setting': setting, 'old': old, 'new': new, 'truncated': [], 'table': (table or 'auth_userprofile')}}
