We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a82ab08 commit d5dbcabCopy full SHA for d5dbcab
tests/storage_tests/formats_test/luks_test.py
@@ -304,6 +304,10 @@ def test_luks_save_passphrase(self):
304
self.assertIsNotNone(disk)
305
self.assertTrue(disk.format.has_key)
306
307
+ # remove passphrase and try to save it (should not fail)
308
+ disk.format.passphrase = None
309
+ blivet.static_data.luks_data.save_passphrase(disk)
310
+
311
def test_label_subsystem(self):
312
disk = self.storage.devicetree.get_device_by_path(self.vdevs[0])
313
0 commit comments