test: Shorten the encrypt_passphrase parameter for FsHelper

This is very long and the 'encrypt' part is implied by the passphrase.
Shorten it to just 'passphrase'.

Signed-off-by: Simon Glass <simon.glass@canonical.com>
This commit is contained in:
Simon Glass
2025-11-11 04:15:03 -07:00
parent 7bd184c0c5
commit 1dcfa2ecbb
3 changed files with 9 additions and 9 deletions

View File

@@ -232,7 +232,7 @@ See ``test/py/tests/fs_helper.py`` for the ``FsHelper`` class::
# Create encrypted filesystem
with FsHelper(config, 'ext4', 30, 'test',
part_mb=60,
encrypt_passphrase='mypassword') as fsh:
passphrase='mypassword') as fsh:
# Add files to fsh.srcdir
with open(os.path.join(fsh.srcdir, 'hello.txt'), 'w') as f:
f.write('Hello from LUKS!\n')