summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2026-04-04 08:03:15 -0600
committerTom Rini <[email protected]>2026-04-21 15:30:38 -0600
commit28e8fcd9eabf7c5ef44aeee0315bd375247fd86e (patch)
tree685ec3450152fc876d68d2c8fdcd8edcb03e6bad
parent22ff15d191c0196cd87678a57e45e7525313770b (diff)
test: Convert test_ut_dm_init() to use FsHelper
Use the helper here, for consistency. Signed-off-by: Simon Glass <[email protected]>
-rw-r--r--test/py/tests/test_ut.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/py/tests/test_ut.py b/test/py/tests/test_ut.py
index ad84fb56b85..9b7f1c6f3fc 100644
--- a/test/py/tests/test_ut.py
+++ b/test/py/tests/test_ut.py
@@ -542,8 +542,8 @@ def test_ut_dm_init(ubman):
utils.run_and_log(
ubman, f'sfdisk {fn}', stdin=b'type=83')
- fs_helper.mk_fs(ubman.config, 'ext2', 0x200000, '2MB', None)
- fs_helper.mk_fs(ubman.config, 'fat32', 0x100000, '1MB', None)
+ FsHelper(ubman.config, 'ext2', 2, '2MB').mk_fs()
+ FsHelper(ubman.config, 'fat32', 1, '1MB').mk_fs()
mmc_dev = 6
fn = os.path.join(ubman.config.source_dir, f'mmc{mmc_dev}.img')