提交 37ec24eb 编写于 作者: M Merlin Mathesius

Report diagostic information if assertion fails in test_dry_run()

Signed-off-by: NMerlin Mathesius <mmathesi@redhat.com>
上级 d86a844a
......@@ -528,7 +528,8 @@ class RunnerOperationTest(unittest.TestCase):
# from test.
for line in ("/:foo ==> 1", "/:baz ==> 3", "/foo:foo ==> a",
"/foo:bar ==> b", "/foo:baz ==> c", "/bar:bar ==> bar"):
self.assertEqual(log.count(line), 4)
self.assertEqual(log.count(line), 4,
"Avocado log count for param '%s' not as expected:\n%s" % (line, log))
def test_invalid_python(self):
test = script.make_script(os.path.join(self.tmpdir, 'test.py'),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册