24 lines
1.3 KiB
Diff
24 lines
1.3 KiB
Diff
From 8e2d7da5868ca2ae1c66c24a3e5c2957daffc7d7 Mon Sep 17 00:00:00 2001
|
|
From: Merlin Mathesius <mmathesi@redhat.com>
|
|
Date: Thu, 1 Jul 2021 15:04:14 -0500
|
|
Subject: [PATCH] Specify the complete relative path to passtest.py in
|
|
HtmlResultTest.test_output_compatible_setup_2 so it finds the script to run.
|
|
|
|
Signed-off-by: Merlin Mathesius <mmathesi@redhat.com>
|
|
---
|
|
optional_plugins/html/tests/test_html_result.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/optional_plugins/html/tests/test_html_result.py b/optional_plugins/html/tests/test_html_result.py
|
|
index b123a669aa..e074d3bc3a 100644
|
|
--- a/optional_plugins/html/tests/test_html_result.py
|
|
+++ b/optional_plugins/html/tests/test_html_result.py
|
|
@@ -53,7 +53,7 @@ def test_output_compatible_setup_2(self):
|
|
tmpfile3 = os.path.join(tmpdir, "result.html")
|
|
cmd_line = ('avocado run --job-results-dir %s --disable-sysinfo '
|
|
'--xunit %s --json %s --html %s --tap-include-logs '
|
|
- 'passtest.py' % (self.tmpdir.name, tmpfile, tmpfile2, tmpfile3))
|
|
+ 'examples/tests/passtest.py' % (self.tmpdir.name, tmpfile, tmpfile2, tmpfile3))
|
|
result = process.run(cmd_line, ignore_status=True)
|
|
output = result.stdout + result.stderr
|
|
expected_rc = exit_codes.AVOCADO_ALL_OK
|