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.py49 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)
Ddeploy_server_local.py61 def strip_terminal_codes(text): function
99 out = strip_terminal_codes(out).strip()
122 output = strip_terminal_codes(subprocess.check_output(cmd))