Skip to content

Commit

Permalink
tests: Fix writing key file for LUKS tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtechtrefny committed Nov 8, 2024
1 parent 4af05fe commit 1299620
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/storage_tests/formats_test/luks_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def test_setup_keyfile(self):

with tempfile.NamedTemporaryFile(prefix="blivet_test") as temp:
temp.write(b"password2")
temp.flush()

# create the luks format with both passphrase and keyfile
self.fmt._key_file = temp.name
Expand Down

0 comments on commit 1299620

Please sign in to comment.