Skip to content

Commit d2f043d

Browse files
author
David Noble
committed
Test tweak
1 parent 38a1374 commit d2f043d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/test_searchcommands_app.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -460,13 +460,13 @@ def _getOneshotResults(self, query, test_name):
460460
actual = []
461461
for result in reader:
462462
if isinstance(result, dict):
463-
actual += ['Results: %s' % result]
463+
actual += [u'Results: %s' % result]
464464
elif isinstance(result, Message):
465-
actual += ['Message: %s' % result]
466-
actual = actual + ['is_preview = %s' % reader.is_preview]
467-
actual = '\n'.join(actual)
465+
actual += [u'Message: %s' % result]
466+
actual = actual + [u'is_preview = %s' % reader.is_preview]
467+
actual = u'\n'.join(actual)
468468
with TestSearchCommandsApp._open_data_file('_expected_results/%s.txt' % test_name, 'r') as expected_file:
469-
expected = ''.join(expected_file.readlines())
469+
expected = u''.join(expected_file.readlines())
470470
return actual, expected
471471

472472
def _run(self, command, args, **kwargs):

0 commit comments

Comments
 (0)