code: def test_download_txt_logs():
      marker = "txt-logs-marker"
      results_dir = pyunit_utils.locate(
          "results"
      )  # find directory path to results folder
  
      # log something unique so that we can try to search for it in the downloaded logs
      h2o.log_and_echo(marker)
  
      log_path = h2o.download_all_logs(
          results_dir,
          filename="plain_text_logs.log_ignore",
          container="LOG",
      )
  
      assert not zipfile.is_zipfile(log_path)
      # logs are trimmed (we can only check smaller files)
      assert (
          find_marker(log_path, marker)
          or os.path.getsize(log_path) > 10 * 1024 * 1042
      )
  
      # Now make sure we get a zip file if we don't specify the container format
      zip_path = h2o.download_all_logs(
          results_dir, filename="zip_logs.zip"
      )
      assert zipfile.is_zipfile(zip_path)
  
imports: import sys
  import h2o
  import zipfile
  import os
  from tests import pyunit_utils
label_desc: Use image node_id 2 for calling a global function with example usage: test_download_txt_logs() without return types