def METHOD_NAME(self):
    task = create_task(LoadCustomSettings, {"settings_path": "test.yml"})
    task.sf = Mock()
    task.sf.query.side_effect = [
        {"totalSize": 1, "records": [{"Id": "001000000000000"}]},
        {"totalSize": 0},
    ]
    task.settings = {"Test__c": [{"data": {"Field__c": "Test"}}]}
    with pytest.raises(CumulusCIException):
        task._load_settings()
    task.sf.Test__c.create.assert_not_called()