### Body

We currently miss fsspec retrieval for providers and #36186 fixed compatibility issue with it, so we should likely add unit tests covering it.

### Committer

- [X] I acknowledge that I am a maintainer/committer of the Apache Airflow project.
bucket = "bkt"
        key = "yek"
        protocol = "s3"
        o = ObjectStoragePath(f"{protocol}://{bucket}/{key}")
        assert o.bucket == bucket
        assert o.container == bucket
        assert o.key == f"/{key}"
        assert o.protocol == protocol
    def test_cwd_home(self):
        assert ObjectStoragePath.cwd()
        assert ObjectStoragePath.home()
    def test_replace(self):
        o = ObjectStoragePath(f"file:///tmp/{str(uuid.uuid4())}")
        i = ObjectStoragePath(f"file:///tmp/{str(uuid.uuid4())}")
        o.touch()
        i.touch()
        assert i.size() == 0
        txt = "foo"
        o.write_text(txt)
        e = o.replace(i)
        assert o.exists() is False
        assert i == e
        assert e.size() == len(txt)
        e.unlink()
    def test_move_local(self):