]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: Correct pylint warnings in fs_helper
authorSimon Glass <sjg@chromium.org>
Sun, 30 Oct 2022 01:47:06 +0000 (19:47 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 7 Nov 2022 23:24:30 +0000 (16:24 -0700)
commit7cbb57321e632d966fad3f29f93689e9fc7cdc37
tree2eaff6accbe9d6e865e9a91ace1fe5f49ee1ea66
parent4349ba5977cdc00ff0398353c33ba04fcd9dd762
test: Correct pylint warnings in fs_helper

Tidy this up so that pylint is happy. Use hex for the 1MB size and make
sure it is not a floating-point value.

Add a little main program to allow the code to be tried out, since at
present is only called from a long-running test.

Signed-off-by: Simon Glass <sjg@chromium.org>
test/py/tests/fs_helper.py