Skip to content

Commit

Permalink
tests: Fix mkksiso unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
bcl committed Oct 8, 2024
1 parent 826fbb5 commit 27d250d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/mkksiso/test_mkksiso.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,6 @@ def test_MakeKickstartISO_updates(self):
MakeKickstartISO(self.test_iso, self.out_iso, updates_image=mocked_updates.name, skip_efi=True)

with tempfile.TemporaryDirectory(prefix="mkksiso-") as tmpdir:
ExtractISOFiles(self.out_iso, ["updates/updates.img"], tmpdir)
ExtractISOFiles(self.out_iso, [os.path.basename(mocked_updates.name)], tmpdir)

self.assertTrue(os.path.exists(os.path.join(tmpdir, "updates/updates.img")))
self.assertTrue(os.path.exists(os.path.join(tmpdir, os.path.basename(mocked_updates.name))))

0 comments on commit 27d250d

Please sign in to comment.