Change order of expected output in log_call test

This will fail on OSX but work on Debian (no idea as to why, yet)
This commit is contained in:
Anders Ingemann 2014-05-04 09:34:26 +02:00
parent 858e325fac
commit 7e03dbe35d

View file

@ -33,7 +33,7 @@ def test_log_call():
eq_(stdout, ['two', 'four\rthree']) eq_(stdout, ['two', 'four\rthree'])
expected_order = ['one', expected_order = ['one',
'two', 'two',
'No, three..', # The "four" is only recorded *after* the process is done (no newline)... 'four\rthree',
'four\rthree', # .. which is why "No, three" comes first 'No, three..',
] ]
eq_(logged.getvalue().split("\n")[8:-1], expected_order) eq_(logged.getvalue().split("\n")[8:-1], expected_order)