提交 71708d83 编写于 作者: C Cleber Rosa

selftests/functional/test_plugin_diff.py: use the detected avocado script

And not the hardcoded path "./scripts/avocado".
Signed-off-by: NMerlin Mathesius <mmathesi@redhat.com>
Signed-off-by: NCleber Rosa <crosa@redhat.com>
上级 20b61337
......@@ -51,8 +51,8 @@ class DiffTests(unittest.TestCase):
expected_rc = exit_codes.AVOCADO_ALL_OK
result = self.run_and_check(cmd_line, expected_rc)
self.assertIn(b"# COMMAND LINE", result.stdout)
self.assertIn(b"-./scripts/avocado run", result.stdout)
self.assertIn(b"+./scripts/avocado run", result.stdout)
self.assertIn("-%s run" % AVOCADO, result.stdout_text)
self.assertIn("+%s run" % AVOCADO, result.stdout_text)
def test_diff_nocmdline(self):
cmd_line = ('%s diff %s %s --diff-filter nocmdline' %
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册