code: def test_makedirs_not_create_for_top_level_path(fs_cls, dvc, mocker):
      url = f"{fs_cls.protocol}://bucket/"
      fs = fs_cls(url=url)
      mocked_client = mocker.PropertyMock()
      mocker.patch.object(fs_cls, "fs", mocked_client)
  
      fs.makedirs(url)
      assert not mocked_client.called
  
file_path: dvc/tests/unit/remote/test_remote.py
imports: import pytest
  from dvc_gs import GSFileSystem
  from dvc_s3 import S3FileSystem
  from dvc.fs import get_cloud_fs
label_desc: Use image node_id 5 for calling a global function with example usage: test_makedirs_not_create_for_top_level_path(fs_cls, dvc, mocker) without return types