Searched refs:strip_terminal_codes (Results 1 – 2 of 2) sorted by relevance
48 result = dsl.strip_terminal_codes('')51 result = dsl.strip_terminal_codes('This is normal text.')54 result = dsl.strip_terminal_codes('Line1\nLine2\n')57 result = dsl.strip_terminal_codes('Line1\nLine2\n')61 result = dsl.strip_terminal_codes('\x1b[1m')64 result = dsl.strip_terminal_codes('\x1b[m')67 result = dsl.strip_terminal_codes('\x1b[1mm')70 result = dsl.strip_terminal_codes(self.PROD_STATUS)74 result = dsl.strip_terminal_codes(self.PROD_VERSIONS)
58 def strip_terminal_codes(text): function78 out = strip_terminal_codes(out).strip()91 output = strip_terminal_codes(subprocess.check_output(cmd))