[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 13/16] tests/acceptance/boot_xen.py: use class attribute
From: |
Cleber Rosa |
Subject: |
[PATCH 13/16] tests/acceptance/boot_xen.py: use class attribute |
Date: |
Fri, 24 Sep 2021 14:55:03 -0400 |
Rather than defining a single use variable, let's just use the class
attribute directly.
Signed-off-by: Cleber Rosa <crosa@redhat.com>
---
tests/acceptance/boot_xen.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/acceptance/boot_xen.py b/tests/acceptance/boot_xen.py
index 66621fd14d..8eec465414 100644
--- a/tests/acceptance/boot_xen.py
+++ b/tests/acceptance/boot_xen.py
@@ -49,11 +49,10 @@ def launch_xen(self, xen_path):
self.vm.set_console()
- xen_command_line = self.XEN_COMMON_COMMAND_LINE
self.vm.add_args('-machine', 'virtualization=on',
'-m', '768',
'-kernel', xen_path,
- '-append', xen_command_line,
+ '-append', self.XEN_COMMON_COMMAND_LINE,
'-device',
'guest-loader,addr=0x47000000,kernel=%s,bootargs=console=hvc0'
% (self.kernel_path))
--
2.31.1
- Re: [PATCH 08/16] acceptance/tests/vnc.py: use explicit syntax for enabling passwords, (continued)
- [PATCH 09/16] tests/acceptance/boot_xen.py: merge base classes, Cleber Rosa, 2021/09/24
- [PATCH 03/16] Acceptance Tests: add mechanism for listing tests, Cleber Rosa, 2021/09/24
- [PATCH 10/16] tests/acceptance/boot_xen.py: unify tags, Cleber Rosa, 2021/09/24
- [PATCH 02/16] Acceptance Tests: improve check-acceptance description, Cleber Rosa, 2021/09/24
- [PATCH 04/16] Acceptance Tests: keep track and disable tests with known issues, Cleber Rosa, 2021/09/24
- [PATCH 11/16] tests/acceptance/boot_xen.py: fetch kernel during test setUp(), Cleber Rosa, 2021/09/24
- [PATCH 12/16] tests/acceptance/boot_xen.py: removed unused import, Cleber Rosa, 2021/09/24
- [PATCH 13/16] tests/acceptance/boot_xen.py: use class attribute,
Cleber Rosa <=
- [PATCH 14/16] tests/acceptance/ppc_prep_40p.py: NetBSD 7.1.2 location update, Cleber Rosa, 2021/09/24
- [PATCH 15/16] tests/acceptance/ppc_prep_40p.py: clean up unused import, Cleber Rosa, 2021/09/24
- [PATCH 16/16] tests/acceptance/ppc_prep_40p.py: unify tags, Cleber Rosa, 2021/09/24
- Re: [PATCH 00/16] Acceptance Tests: use Avocado 91.0 features and other improvements, Pavel Dovgalyuk, 2021/09/27
- Re: [PATCH 00/16] Acceptance Tests: use Avocado 91.0 features and other improvements, Philippe Mathieu-Daudé, 2021/09/27