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.

BUG=chromium:982465
TEST=`cros lint` on this no longer complains
TEST=`./fmap_unittest.py` still passes

Change-Id: I59c9b3a9b95283ecae9948c6b7e13dd86d54a4c2
Reviewed-on: https://chromium-review.googlesource.com/1693886
Tested-by: Mike Frysinger <vapier@chromium.org>
Commit-Ready: Mike Frysinger <vapier@chromium.org>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Reviewed-by: Duncan Laurie <dlaurie@google.com>
1 file changed