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
13    r"""
14    Do test suite setup tasks.
15    """
16
17    gp.qprintn()
18
19    validate_suite_parms()
20
21    gp.qprint_pgm_header()
22
23
24def test_setup():
25
26    r"""
27    Do test case setup tasks.
28    """
29
30    gp.qprintn()
31    gp.qprint_executing()
32
33
34def validate_suite_parms():
35
36    r"""
37    Validate suite parameters.
38    """
39
40    # Programmer must add these.
41    grv.rvalid_value("OPENBMC_HOST")
42
43    return
44
45
46def suite_teardown():
47
48    r"""
49    Clean up after this program.
50    """
51
52    gp.qprint_pgm_footer()
53