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

def expected_settings_change_initiated_event(self, setting, old, new, username=None, user_id=None):

    return {'username': (username or self.username), 'referer': self.get_settings_page_url(), 'event': {'user_id': (user_id or self.user_id), 'setting': setting, 'old': old, 'new': new}}
