aboutsummaryrefslogtreecommitdiff
path: root/tests/acceptance/virtiofs_submounts.py
diff options
context:
space:
mode:
authorCleber Rosa <crosa@redhat.com>2021-02-03 12:23:49 -0500
committerCleber Rosa <crosa@redhat.com>2021-02-15 22:17:25 -0500
commit6dd7457916e17f7674e96d02b66a376b0f923fcc (patch)
tree148a4daf3d016f5d54a581f641de6a3bc2e87f64 /tests/acceptance/virtiofs_submounts.py
parent991e80911ed131f1785bd6015647180fed4dd95f (diff)
Acceptance Tests: introduce LinuxTest base class
This is basically the infrastructure around "boot_linux.py" tests, but now made into a base class for general use. Signed-off-by: Cleber Rosa <crosa@redhat.com> Message-Id: <20210203172357.1422425-15-crosa@redhat.com> Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com> Reviewed-by: Willian Rampazzo <willianr@redhat.com> Signed-off-by: Cleber Rosa <crosa@redhat.com>
Diffstat (limited to 'tests/acceptance/virtiofs_submounts.py')
-rw-r--r--tests/acceptance/virtiofs_submounts.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/acceptance/virtiofs_submounts.py b/tests/acceptance/virtiofs_submounts.py
index 9a69b6b17b..fc2b4fd666 100644
--- a/tests/acceptance/virtiofs_submounts.py
+++ b/tests/acceptance/virtiofs_submounts.py
@@ -5,14 +5,12 @@ import subprocess
import time
from avocado import skipUnless
-from avocado_qemu import Test, BUILD_DIR
+from avocado_qemu import LinuxTest, BUILD_DIR
from avocado_qemu import wait_for_console_pattern
from avocado.utils import ssh
from qemu.accel import kvm_available
-from boot_linux import BootLinux
-
def run_cmd(args):
subp = subprocess.Popen(args,
@@ -71,7 +69,7 @@ def has_cmds(*cmds):
return (True, '')
-class VirtiofsSubmountsTest(BootLinux):
+class VirtiofsSubmountsTest(LinuxTest):
"""
:avocado: tags=arch:x86_64
"""