def METHOD_NAME(self, execute_task, caplog):
    """Test when no location is provided"""
    execute_task('test_no_path')
    assert self.error_not_local in caplog.text, 'Plugin logs an error when entry has no path.'