Skip to content

Commit

Permalink
Merge pull request #633 from KKoukiou/fix-firmware-condition
Browse files Browse the repository at this point in the history
tests: fix firmware conditions
  • Loading branch information
KKoukiou authored Feb 13, 2025
2 parents 94cc28a + 632fbc1 commit d4d7b0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/anacondalib.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ def setUp(self):
method = getattr(self, self._testMethodName)
openqa_test = getattr(method, "openqa_test", "")
wikictms_section = getattr(method, "wikictms_section", "")
boot_modes = getattr(method, "boot_modes", [])
boot_modes = getattr(method, "boot_modes", ["bios"])

if self.is_efi and "efi" not in boot_modes:
self.skipTest("Skipping for EFI boot mode")
elif not self.is_efi and "bios" not in self.boot_modes:
elif not self.is_efi and "bios" not in boot_modes:
self.skipTest("Skipping for BIOS boot mode")

# FIXME: running this in destructive tests fails because the SSH session closes before this is run
Expand Down

0 comments on commit d4d7b0e

Please sign in to comment.