|
@@ -1410,10 +1410,14 @@ class TestCase(unittest.TestCase):
|
|
|
stdmsg = (
|
|
|
"Running <{m.name}> module ended"
|
|
|
" with non-zero return code ({m.returncode})\n"
|
|
|
- "Called: {code}\n"
|
|
|
+ "Called (Python): {code}\n"
|
|
|
+ "Called (Bash): {bash}\n"
|
|
|
"See the following errors:\n"
|
|
|
"{errors}".format(
|
|
|
- m=module, code=module.get_python(), errors=module.outputs.stderr
|
|
|
+ m=module,
|
|
|
+ code=module.get_python(),
|
|
|
+ bash=module.get_bash(),
|
|
|
+ errors=module.outputs.stderr,
|
|
|
)
|
|
|
)
|
|
|
self.fail(self._formatMessage(msg, stdmsg))
|