'Verify that we emit an event when a user preference is updated.'

def test_update_user_preference(self):

    self.user_preference.value = 'new    value'
    self.user_preference.save()
    self.assert_user_setting_event_emitted(setting=self.TEST_KEY, old=self.TEST_VALUE, new='new    value')
