aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/qemu_test
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2025-03-17 12:43:00 +0000
committerThomas Huth <thuth@redhat.com>2025-03-19 07:41:32 +0100
commit23686dfb763d22d95c05c49382116d77133637b7 (patch)
treedc9a84a3d6a223d7ef3636ca1621b38bd37657fa /tests/functional/qemu_test
parent6d19d095470221684afe065cffd40adebe644d04 (diff)
downloadqemu-23686dfb763d22d95c05c49382116d77133637b7.zip
qemu-23686dfb763d22d95c05c49382116d77133637b7.tar.gz
qemu-23686dfb763d22d95c05c49382116d77133637b7.tar.bz2
tests/functional: remove all class level fields
A number of fields are set at the class level on QemuBaseTest, even though the exact same named field is then set at the object level later in most cases. The 'self.logger' initialization in ACPI bits test needs to be removed since 'self.log' won't exist at that point in the flow. It already initialized 'self.logger' later in the setUp() method, so the __init__ method was redundant. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Message-ID: <20250317124300.84266-1-berrange@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/functional/qemu_test')
-rw-r--r--tests/functional/qemu_test/testcase.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/functional/qemu_test/testcase.py b/tests/functional/qemu_test/testcase.py
index 50d232a..50c401b 100644
--- a/tests/functional/qemu_test/testcase.py
+++ b/tests/functional/qemu_test/testcase.py
@@ -33,12 +33,6 @@ from .uncompress import uncompress
class QemuBaseTest(unittest.TestCase):
- arch = None
-
- workdir = None
- log = None
- logdir = None
-
'''
@params compressed: filename, Asset, or file-like object to uncompress
@params format: optional compression format (gzip, lzma)