def case_03(): pass if __name__ == "__main__": test.set_setup(setup) test.set_create(create) test.add_test_case(case_01) test.add_test_case(case_02) test.add_test_case(case_03) test.set_cleanup(cleanup) test.set_destroy(destroy) test.run_script()
def defaultValue(): """ @goal : - @coverage : - """ test.assert_true_fatal(1 == 2, "1==2") test.assert_true(1 == 1, "1==1") def start(): pass def stop(): pass def destroy(): raise Exception() if __name__ == "__main__": test.set_setup(start) test.add_test_case(defaultValue) test.set_cleanup(stop) test.set_destroy(destroy) test.run_script()