def testGetRootFileEntry(self):
    file_system = os_file_system.OSFileSystem(self._resolver_context)

    if platform.system() == u'Windows':
      # Return the root with the drive letter of the volume the current
      # working directory is on.
      expected_location = os.getcwd()
      expected_location, _, _ = expected_location.partition(u'\\')
    else:
      expected_location = u''

    file_entry = file_system.GetRootFileEntry()

    self.assertIsNotNone(file_entry)
    self.assertEqual(file_entry.name, expected_location)
setdefaultproxy(proxytype, addr[, port[, rdns[, username[, password]]]])
dataset/ETHPy150Open log2timeline/dfvfs/tests/vfs/os_file_system.py/OSFileSystemTest.testGetRootFileEntry--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/httplib2/httplib2/socks.py/setdefaultproxy