mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-27 12:02:04 -06:00
tests/functional: remove unused 'bin_prefix' variable
This was copied over from avocado but has not been used in the new functional tests. 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-2-berrange@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
e8a0110293
commit
6c5a1467f8
1 changed files with 3 additions and 3 deletions
|
@ -192,7 +192,7 @@ class QemuBaseTest(unittest.TestCase):
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def setUp(self, bin_prefix):
|
def setUp(self):
|
||||||
self.assertIsNotNone(self.qemu_bin, 'QEMU_TEST_QEMU_BINARY must be set')
|
self.assertIsNotNone(self.qemu_bin, 'QEMU_TEST_QEMU_BINARY must be set')
|
||||||
self.arch = self.qemu_bin.split('-')[-1]
|
self.arch = self.qemu_bin.split('-')[-1]
|
||||||
self.socketdir = None
|
self.socketdir = None
|
||||||
|
@ -254,7 +254,7 @@ class QemuBaseTest(unittest.TestCase):
|
||||||
class QemuUserTest(QemuBaseTest):
|
class QemuUserTest(QemuBaseTest):
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
super().setUp('qemu-')
|
super().setUp()
|
||||||
self._ldpath = []
|
self._ldpath = []
|
||||||
|
|
||||||
def add_ldpath(self, ldpath):
|
def add_ldpath(self, ldpath):
|
||||||
|
@ -277,7 +277,7 @@ class QemuSystemTest(QemuBaseTest):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
self._vms = {}
|
self._vms = {}
|
||||||
|
|
||||||
super().setUp('qemu-system-')
|
super().setUp()
|
||||||
|
|
||||||
console_log = logging.getLogger('console')
|
console_log = logging.getLogger('console')
|
||||||
console_log.setLevel(logging.DEBUG)
|
console_log.setLevel(logging.DEBUG)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue