Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions tests/basetestcase.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,9 @@ def assert_run(self, run,
returncode = run.returncode
is_robot = "pybot" in run.cmd
self.assertEquals(expected_returncode, returncode,
"Return code was %s, expecting %s with the command: '%s'" % (
returncode, expected_returncode, run.cmd))
"Return code was %s, expecting %s with the command: '%s'\n"
"The message was:\n%s\n" % (
returncode, expected_returncode, run.cmd, run.output))
if expected_tests_ran:
self.assertTrue("Ran %s test" % expected_tests_ran in run.output, "Didn't get %s tests ran when "
"running '%s'" % (
Expand Down