def METHOD_NAME(_):
    repo = HdfsArtifactRepository("hdfs://host_name:8020/maybe/path")
    with pytest.raises(Exception, match="No such file or directory: '/not/existing/local/path'"):
        repo.log_artifact("/not/existing/local/path", "test_hdfs/some/path")