From f76263abba14e0136ed0bf19d2752c28f4522638 Mon Sep 17 00:00:00 2001 From: SrikanthMyakam Date: Wed, 23 Oct 2024 09:07:19 +0530 Subject: [PATCH] flake8 fixes --- lisa/features/nvme.py | 2 +- microsoft/testsuites/nvme/nvme.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lisa/features/nvme.py b/lisa/features/nvme.py index a0b1e81682..3b2e5e5f47 100644 --- a/lisa/features/nvme.py +++ b/lisa/features/nvme.py @@ -70,7 +70,7 @@ def get_devices(self) -> List[str]: node_disk = self._node.features[Disk] # With disk controller type NVMe, all remote managed disks attached to the VM # (including the OS disc) appear as NVMe devices, . - # All the remote managed disks (inclusing the OS disc) use the same NVMe + # All the remote managed disks (inclusing the OS disc) use the same NVMe # controller in the VM. # Excluding the OS NVMe device from the list of NVMe devices will remove all remote # managed disks. diff --git a/microsoft/testsuites/nvme/nvme.py b/microsoft/testsuites/nvme/nvme.py index e192dea6b2..01235926fb 100644 --- a/microsoft/testsuites/nvme/nvme.py +++ b/microsoft/testsuites/nvme/nvme.py @@ -332,9 +332,7 @@ def verify_nvme_rescind(self, node: Node) -> None: # 2. Enable PCI devices. lspci.enable_devices() # 3. Get PCI devices slots. - after_devices_slots = lspci.get_device_names_by_type( - DEVICE_TYPE_NVME, True, True - ) + after_devices_slots = lspci.get_device_names_by_type(DEVICE_TYPE_NVME, True) # 4. Check PCI devices are back after rescan. assert_that( after_devices_slots,