diff --git a/selftests/functional/test_plugin_diff.py b/selftests/functional/test_plugin_diff.py index 25ef7fc997cbcd350a5aa99f52d1c56a50c625f9..595024b4c70d727a4e11c1bd645c98f28d38d4a9 100644 --- a/selftests/functional/test_plugin_diff.py +++ b/selftests/functional/test_plugin_diff.py @@ -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' %