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