fmap_unittest.py: clean up lint warnings
The assertEquals helper is deprecated in favor of assertEqual, so
rename all the users to that.
The testDecodeWithWrongName defines a decoded variable but doesn't
do anything other than assign to it. We don't need that for this
particular test (which is checking for assertions), so drop them.
The testDecodeWithOffset function was duplicated (exact same name &
test code), so delete one of the duplicates.
TEST=`cros lint` on this no longer complains
TEST=`./fmap_unittest.py` still passes
Tested-by: Mike Frysinger <email@example.com>
Commit-Ready: Mike Frysinger <firstname.lastname@example.org>
Legacy-Commit-Queue: Commit Bot <email@example.com>
Reviewed-by: Duncan Laurie <firstname.lastname@example.org>
1 file changed