mirror of
https://github.com/powerline/powerline.git
synced 2025-07-31 01:35:40 +02:00
Wait less in vterm tmux tests
This commit is contained in:
parent
d5d138f83d
commit
66c6128b66
@ -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), ' '),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user