Home
last modified time | relevance | path

Searched refs:strip_terminal_codes (Results 1 – 2 of 2) sorted by relevance

/external/autotest/site_utils/
Ddeploy_server_local_unittest.py48 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)
Ddeploy_server_local.py58 def strip_terminal_codes(text): function
78 out = strip_terminal_codes(out).strip()
91 output = strip_terminal_codes(subprocess.check_output(cmd))