code: def download_logs():
      results_dir = pyunit_utils.locate("results")
  
      logs_path = h2o.download_all_logs()
      assert os.path.exists(logs_path)
  
      logs_path_explicit = h2o.download_all_logs(
          dirname=results_dir, filename="logs.zip"
      )
      assert logs_path_explicit == os.path.join(results_dir, "logs.zip")
      assert os.path.exists(logs_path_explicit)
  
imports: import sys
  import os
  from tests import pyunit_utils
  import h2o
label_desc: Use image node_id 1 for calling a global function with example usage: download_logs() without return types