1#!/usr/bin/env python 2 3r""" 4This module is the python counterpart to pgm_template.py. 5""" 6 7import gen_print as gp 8import gen_robot_valid as grv 9 10 11def suite_setup(): 12 r""" 13 Do test suite setup tasks. 14 """ 15 16 gp.qprintn() 17 18 validate_suite_parms() 19 20 gp.qprint_pgm_header() 21 22 23def test_setup(): 24 r""" 25 Do test case setup tasks. 26 """ 27 28 gp.qprintn() 29 gp.qprint_executing() 30 31 32def validate_suite_parms(): 33 r""" 34 Validate suite parameters. 35 """ 36 37 # Programmer must add these. 38 grv.rvalid_value("OPENBMC_HOST") 39 40 return 41 42 43def suite_teardown(): 44 r""" 45 Clean up after this program. 46 """ 47 48 gp.qprint_pgm_footer() 49