def METHOD_NAME(self, test_name: str, print_footer: bool=True):
    if self.failed:
        self.rawprint("$$ FAILED")
    self.dedent()
    if print_footer:
        self.rawprint("<< Test {}".format(test_name))
    self.test_name = ''