'Helper method to assert that we emit the expected user settings events.
Expected settings are passed in via `kwargs`.'

def assert_user_setting_event_emitted(self, **kwargs):

    if ('truncated' not in kwargs):
        kwargs['truncated'] = []
    self.assert_event_emitted(USER_SETTINGS_CHANGED_EVENT_NAME, table=self.table, user_id=self.user.id, **kwargs)
