def METHOD_NAME(scheme: str) -> None:
    fmtr = uri_formatter(
        project_name="test-project", cluster_name="cluster", org_name=None
    )
    assert (
        fmtr(URL(f"{scheme}://cluster/test-project/path/to/file"))
        == f"{scheme}:path/to/file"
    )
    assert fmtr(URL(f"{scheme}://cluster/test-project/")) == f"{scheme}:"
    assert fmtr(URL(f"{scheme}://cluster/test-project")) == f"{scheme}:"
    assert fmtr(URL(f"{scheme}://cluster/")) == f"{scheme}:/"
    assert fmtr(URL(f"{scheme}://cluster")) == f"{scheme}:/"
    assert (
        fmtr(URL(f"{scheme}://cluster/other-project/path/to/file"))
        == f"{scheme}:/other-project/path/to/file"
    )
    assert (
        fmtr(URL(f"{scheme}://cluster/org/test-project/path/to/file"))
        == f"{scheme}:/org/test-project/path/to/file"
    )
    assert (
        fmtr(URL(f"{scheme}://othercluster/test-project/path/to/file"))
        == f"{scheme}://othercluster/test-project/path/to/file"
    )
    assert fmtr(URL("user://cluster/user/rest")) == "user://cluster/user/rest"