### 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.
#
#
#
from __future__ import annotations
import uuid
from stat import S_ISDIR, S_ISREG
from tempfile import NamedTemporaryFile
from unittest import mock
import pytest
from fsspec.implementations.local import LocalFileSystem
from fsspec.utils import stringify_path
from airflow.io.path import ObjectStoragePath
from airflow.io.store import _STORE_CACHE, ObjectStore, attach
from airflow.utils.module_loading import qualname
FAKE = "file:///fake"
MNT = "file:///mnt/warehouse"
FOO = "file:///mnt/warehouse/foo"
BAR = FOO
class FakeRemoteFileSystem(LocalFileSystem):
    id = "fakefs"
    auto_mk_dir = True
    @property
    def fsid(self):
        return self.id
    @classmethod
    def _strip_protocol(cls, path) -> str:
        path = stringify_path(path)
        i = path.find("://")
        return path[i + 3 :] if i > 0 else path
class TestFs: