Wait less in vterm tmux tests

This commit is contained in:
ZyX 2015-02-07 11:14:09 +03:00
parent d5d138f83d
commit 66c6128b66

View File

@ -42,7 +42,7 @@ def test_expected_result(p, expected_result, cols, rows):
return True return True
attempts -= 1 attempts -= 1
print('Actual result does not match expected. Attempts left: {0}.'.format(attempts)) print('Actual result does not match expected. Attempts left: {0}.'.format(attempts))
sleep(10) sleep(2)
print('Result:') print('Result:')
shesc_result = ''.join(( shesc_result = ''.join((
'{0}{1}\x1b[m'.format(cell_properties_key_to_shell_escape(key), text) '{0}{1}\x1b[m'.format(cell_properties_key_to_shell_escape(key), text)
@ -157,7 +157,7 @@ def main():
}, },
) )
p.start() p.start()
sleep(10) sleep(2)
expected_result_new = ( expected_result_new = (
(((0, 0, 0), (243, 243, 243), 1, 0, 0), ' 0 '), (((0, 0, 0), (243, 243, 243), 1, 0, 0), ' 0 '),
(((243, 243, 243), (11, 11, 11), 0, 0, 0), ' '), (((243, 243, 243), (11, 11, 11), 0, 0, 0), ' '),