test/py: usb: Fix format string for fstype command
authorAndrew Goodbody <andrew.goodbody@linaro.org>
Wed, 5 Feb 2025 13:04:26 +0000 (13:04 +0000)
committerTom Rini <trini@konsulko.com>
Mon, 10 Feb 2025 16:27:44 +0000 (10:27 -0600)
commiteaa51d0fda433c35e0c1d253c399e27d7a4c4765
tree362923a97fce7528650bf1fe9781ad9cc9845a90
parent7764d7d65383ca3557e0c1cff40bbb716bbb79e1
test/py: usb: Fix format string for fstype command

USB tests on ext partitions can fail with the following output

test/py/tests/test_usb.py:245: in test_usb_part
    'fstype usb %d:%d' % i, part_id
E   TypeError: not enough arguments for format string

So add brackets around the format string arguments to prevent the
error.

Fixes: a730947974e3 ("test/py: usb: Distinguish b/w ext2/ext4 partitions")
Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Reviewed-by: Marek Vasut <marex@denx.de>
Reviewed-by: Love Kumar <love.kumar@amd.com>
test/py/tests/test_usb.py