code: def get_set_list_timezones():
      origTZ = h2o.get_timezone()
      print("Original timezone: {0}".format(origTZ))
  
      timezones = h2o.list_timezones()
      # don't use the first one..it's a header for the table
      print("timezones[0]:", timezones[0])
      zone = (
          timezones[random.randint(1, timezones.nrow - 1), 0]
          .split(" ")[1]
          .split(",")[0]
      )
      print("Setting the timezone: {0}".format(zone))
      h2o.set_timezone(zone)
  
      newTZ = h2o.get_timezone()
      assert (
          newTZ == zone
      ), "Expected new timezone to be {0}, but got {01}".format(
          zone, newTZ
      )
  
      print("Setting the timezone back to original: {0}".format(origTZ))
      h2o.set_timezone(origTZ)
  
imports: import sys
  import h2o
  from tests import pyunit_utils
  import random
label_desc: Use image node_id 1 for calling a global function with example usage: get_set_list_timezones() without return types