def METHOD_NAME(self, status):
    highlighter = self._highlighter
    start = {'PASS': highlighter.green,
             'FAIL': highlighter.red,
             'ERROR': highlighter.red,
             'WARN': highlighter.yellow,
             'SKIP': highlighter.yellow}[status]
    start()
    try:
        yield
    finally:
        highlighter.reset()