### 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.
def setup_class(self):
        self._store_cache = _STORE_CACHE.copy()
    def teardown(self):
        _STORE_CACHE.clear()
        _STORE_CACHE.update(self._store_cache)
    def test_alias(self):
        store = attach("file", alias="local")
        assert isinstance(store.fs, LocalFileSystem)
        assert "local" in _STORE_CACHE
    def test_init_objectstoragepath(self):
        path = ObjectStoragePath("file://bucket/key/part1/part2")
        assert path.bucket == "bucket"
        assert path.key == "/key/part1/part2"
        assert path.protocol == "file"
        path2 = ObjectStoragePath(path / "part3")
        assert path2.bucket == "bucket"
        assert path2.key == "/key/part1/part2/part3"
        assert path2.protocol == "file"
        path3 = ObjectStoragePath(path2 / "2023")
        assert path3.bucket == "bucket"
        assert path3.key == "/key/part1/part2/part3/2023"
        assert path3.protocol == "file"
    def test_read_write(self):