code: def test_gather_node_details():
      gather_node_details()
      time.sleep(0.1)
      node_details = gather_node_details()
      assert not node_details["disk"].get("partitions")
  
      curdir = os.path.dirname(os.path.abspath(__file__))
      gather_node_details(disk_infos=[DiskInfo(path=curdir)])
      time.sleep(0.1)
      node_details = gather_node_details(
          disk_infos=[DiskInfo(path=curdir)]
      )
      assert node_details["disk"].get("partitions")
  
imports: import os
  import time
  from ..None import DiskInfo
  from ..gather import gather_node_env, gather_node_resource, gather_node_details
label_desc: Use image node_id 3 for calling a global function with example usage: test_gather_node_details() without return types