Searched refs:strip_terminal_codes (Results 1 – 2 of 2) sorted by relevance
49 result = dsl.strip_terminal_codes('')52 result = dsl.strip_terminal_codes('This is normal text.')55 result = dsl.strip_terminal_codes('Line1\nLine2\n')58 result = dsl.strip_terminal_codes('Line1\nLine2\n')62 result = dsl.strip_terminal_codes('\x1b[1m')65 result = dsl.strip_terminal_codes('\x1b[m')68 result = dsl.strip_terminal_codes('\x1b[1mm')71 result = dsl.strip_terminal_codes(self.PROD_STATUS)75 result = dsl.strip_terminal_codes(self.PROD_VERSIONS)
61 def strip_terminal_codes(text): function99 out = strip_terminal_codes(out).strip()122 output = strip_terminal_codes(subprocess.check_output(cmd))