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