test/py: Have test_usb.py raise an Exception with unsupported filesystems
authorTom Rini <trini@konsulko.com>
Wed, 12 Feb 2025 22:23:54 +0000 (16:23 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 21 Feb 2025 14:24:05 +0000 (08:24 -0600)
commitea9131d904726e0775fab803e43809b8150f02b9
tree142b4df730966632f01dbc7aadc61873afe180cf
parent203d3a9fc709571cfeacb93f1b027f6ecfcce173
test/py: Have test_usb.py raise an Exception with unsupported filesystems

With a newer pylint we get a warning about how offset could be used
before assigned. This is because when the underlying filesystem wasn't
one that is supported we would have runtime test failures. Address this
by raise'ing an Exception if fs is not supported.

Signed-off-by: Tom Rini <trini@konsulko.com>
test/py/tests/test_usb.py