class_docstr: Checks the full filesystem resolution functionality, exercising each URL interpretation case.
docstr: Initializes a mock hadoop config and populate with basic properties.
docstr_tok: ["Initializes","a","mock","hadoop","config","and","populate","with","basic","properties","."]
code: def setUp(self):
      """Initializes a mock hadoop config and populate with basic properties."""
      # Reset counters in mock connector
      self.mock.reset()
      self._hadoop_configuration = MockHadoopConfiguration()
      self._hadoop_configuration.set("fs.defaultFS", HC.FS_WARP_TURTLE)
      self._hadoop_configuration.set(
          "dfs.ha.namenodes.{}".format(HC.WARP_TURTLE), "nn2,nn1"
      )
      self._hadoop_configuration.set(
          "dfs.namenode.rpc-address.{}.nn1".format(HC.WARP_TURTLE),
          HC.WARP_TURTLE_NN1,
      )
      self._hadoop_configuration.set(
          "dfs.namenode.rpc-address.{}.nn2".format(HC.WARP_TURTLE),
          HC.WARP_TURTLE_NN2,
      )
  
imports: import unittest
  import dill
  from pyarrow.filesystem import LocalFileSystem
  from pyarrow.lib import ArrowIOError
  from six.moves.urllib.parse import urlparse
  import gcsfs
  import s3fs
  from petastorm.fs_utils import FilesystemResolver, get_filesystem_and_path_or_paths
  from petastorm.hdfs.tests.test_hdfs_namenode import HC, MockHadoopConfiguration, MockHdfs, MockHdfsConnector
label_desc: Use image node_id 2 for calling the FilesystemResolverTest obj's underlying member method code with example usage: obj.setUp() without return types