test/py: Update test_fs to decode check_output calls
authorTom Rini <trini@konsulko.com>
Thu, 24 Oct 2019 15:59:24 +0000 (11:59 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 30 Oct 2019 21:48:47 +0000 (17:48 -0400)
commitd2b5240c9a0303e2d2ed3cd540d7e32b6f198664
treed16fb9b9f2bdfd4aafcc496491f80e55c9dc440f
parent1813ace6fcc46097d1709a775e72948fcbf52fee
test/py: Update test_fs to decode check_output calls

The check_output function from the subprocess Python module by default
returns data as encoded bytes and leaves decoding to the application.
Given our uses of the call, it makes the most sense to immediately
decode the results.

Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Simon Glass <sjg@chromium.org> [on sandbox]
Signed-off-by: Tom Rini <trini@konsulko.com>
test/py/tests/test_fs/conftest.py