diff --git a/provider/sriov/sriov_base.py b/provider/sriov/sriov_base.py index 3558af28fe..67a4be6917 100644 --- a/provider/sriov/sriov_base.py +++ b/provider/sriov/sriov_base.py @@ -260,8 +260,8 @@ def get_rom_file(self): if not os.path.exists(rom_file): virtio_rom_file = "/usr/share/ipxe/1af41000.rom" if not os.path.exists(virtio_rom_file): - self.test.error(f"This test needs a rom file, but neither {rom_file}" - "nor {virtio_rom_file} exist!") + self.test.error(f"This test needs a rom file, but neither {rom_file} " + f"nor {virtio_rom_file} exist!") return virtio_rom_file return rom_file