def METHOD_NAME(self, field, value):
    url = '/users/account'
    currentpassword = self.global_passwords['contributor']
    data = {
        'currentpassword': currentpassword
    }
    data[field] = value
    self.post_json_with_contributor(url, data, status=200)
    self.assertEqual(1, int(self.discourse_client.sso_sync.called_count))