未验证 提交 d449155f 编写于 作者: C Cleber Rosa

Merge remote-tracking branch 'mmathesius/enhance-broken-pipe-test'

Signed-off-by: NCleber Rosa <crosa@redhat.com>
......@@ -631,7 +631,8 @@ class OutputPluginTest(unittest.TestCase):
self.assertEqual(result.exit_status, expected_rc,
("avocado run to broken pipe did not return "
"rc %d:\n%s" % (expected_rc, result)))
self.assertEqual(len(result.stderr.splitlines()), 1)
self.assertEqual(len(result.stderr.splitlines()), 1,
"stderr line count is not 1:\n%s" % result.stderr)
self.assertIn(b"whacky-unknown-command", result.stderr)
self.assertIn(b"not found", result.stderr)
self.assertNotIn(b"Avocado crashed", result.stderr)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册