diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2025-02-28 10:27:33 +0000 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2025-03-06 08:10:04 +0100 |
commit | 8188356a260ca0201c42d128d8fa86f40160b513 (patch) | |
tree | 657cdde7e060753fd3dd95e08088f6869b4ecebe /docs/devel | |
parent | 6c5a1467f8d0a9e840c8aa193bc110cc76ee80e8 (diff) | |
download | qemu-8188356a260ca0201c42d128d8fa86f40160b513.zip qemu-8188356a260ca0201c42d128d8fa86f40160b513.tar.gz qemu-8188356a260ca0201c42d128d8fa86f40160b513.tar.bz2 |
tests/functional: set 'qemu_bin' as an object level field
The 'qemu_bin' field is currently set on the class, despite being
accessed as if it were an object instance field with 'self.qemu_bin'.
This is no obvious need to have it as a class field, so move it into
the object instance.
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20250228102738.3064045-3-berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'docs/devel')
-rw-r--r-- | docs/devel/testing/functional.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/devel/testing/functional.rst b/docs/devel/testing/functional.rst index ecc7389..bcb5509 100644 --- a/docs/devel/testing/functional.rst +++ b/docs/devel/testing/functional.rst @@ -173,7 +173,7 @@ QEMU binary selection ^^^^^^^^^^^^^^^^^^^^^ The QEMU binary used for the ``self.vm`` QEMUMachine instance will -primarily depend on the value of the ``qemu_bin`` class attribute. +primarily depend on the value of the ``qemu_bin`` instance attribute. If it is not explicitly set by the test code, its default value will be the result the QEMU_TEST_QEMU_BINARY environment variable. |