code: def test_path_parser():
      path = "hdfs://user:password@localhost:8080/test"
      parsed_result = FileSystem.parse_from_path(path)
      assert parsed_result["host"] == "localhost"
      assert parsed_result["port"] == 8080
      assert parsed_result["user"] == "user"
      assert parsed_result["password"] == "password"
  
file_path: mars/mars/lib/filesystem/tests/test_filesystem.py
imports: import glob
  import os
  import tempfile
  import numpy
  import pytest
  from ....tests.core import require_hadoop
  from ....utils import lazy_import
  from ..None import glob, FileSystem, LocalFileSystem, FSMap
label_desc: Use image node_id 1 for calling a global function with example usage: test_path_parser() without return types