aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorWillian Rampazzo <willianr@redhat.com>2021-09-20 17:49:28 -0300
committerPhilippe Mathieu-Daudé <philmd@redhat.com>2021-09-27 19:06:15 +0200
commit20bf915418bcd4c2f14ce417764cc9f9c63bafff (patch)
treee5a8a78f4a36ee9cabf5853f40985a5a2471b109 /tests
parent1f1fcf0c5738296f79723ead75520a957bf7b30b (diff)
downloadqemu-20bf915418bcd4c2f14ce417764cc9f9c63bafff.zip
qemu-20bf915418bcd4c2f14ce417764cc9f9c63bafff.tar.gz
qemu-20bf915418bcd4c2f14ce417764cc9f9c63bafff.tar.bz2
avocado_qemu: standardize super() call following PEP3135
PEP3135 states when calling super(), there is no need to use arguments. This changes the calls on avocado_qemu to standardize according to PEP3135 and avoid warnings from linters. Signed-off-by: Willian Rampazzo <willianr@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20210920204932.94132-3-willianr@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/acceptance/avocado_qemu/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/acceptance/avocado_qemu/__init__.py b/tests/acceptance/avocado_qemu/__init__.py
index d9e1b32..d2077d6 100644
--- a/tests/acceptance/avocado_qemu/__init__.py
+++ b/tests/acceptance/avocado_qemu/__init__.py
@@ -282,7 +282,7 @@ class Test(avocado.Test):
asset_hash=None, algorithm=None,
locations=None, expire=None,
find_only=False, cancel_on_missing=True):
- return super(Test, self).fetch_asset(name,
+ return super().fetch_asset(name,
asset_hash=asset_hash,
algorithm=algorithm,
locations=locations,
@@ -470,7 +470,7 @@ class LinuxTest(Test, LinuxSSHMixIn):
self.distro.checksum = distro_checksum
def setUp(self, ssh_pubkey=None, network_device_type='virtio-net'):
- super(LinuxTest, self).setUp()
+ super().setUp()
self._set_distro()
self.vm.add_args('-smp', '2')
self.vm.add_args('-m', '1024')