Skip to content

Commit

Permalink
flake8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
SRIKKANTH committed Oct 23, 2024
1 parent 1264464 commit f76263a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lisa/features/nvme.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 1 addition & 3 deletions microsoft/testsuites/nvme/nvme.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f76263a

Please sign in to comment.