code: def test_hadoop_ls(self):
      path1 = resource("ls_test/f_50")
      ls1 = hl.hadoop_ls(path1)
      self.assertEqual(len(ls1), 1)
      self.assertEqual(ls1[0]["size_bytes"], 50)
      self.assertEqual(ls1[0]["is_dir"], False)
      self.assertTrue("path" in ls1[0])
  
      path2 = resource("ls_test")
      ls2 = hl.hadoop_ls(path2)
      self.assertEqual(len(ls2), 3)
      ls2_dict = {x["path"].split("/")[-1]: x for x in ls2}
      self.assertEqual(ls2_dict["f_50"]["size_bytes"], 50)
      self.assertEqual(ls2_dict["f_100"]["size_bytes"], 100)
      self.assertEqual(ls2_dict["f_100"]["is_dir"], False)
      self.assertEqual(ls2_dict["subdir"]["is_dir"], True)
  
      path3 = resource("ls_test/f*")
      ls3 = hl.hadoop_ls(path3)
      assert len(ls3) == 2, ls3
  
imports: import json
  import unittest
  import hail
  from hail.utils import *
  from hail.utils.misc import escape_str, escape_id
  from hail.utils.java import FatalError
  from hail.utils.linkedlist import LinkedList
  from ..helpers import *
label_desc: Use image node_id 11 for calling the Tests obj's underlying member method code with example usage: obj.test_hadoop_ls() without return types