fix flake8 errors

This patch fix the flake8 errors raised by "run_tests.sh -p"

Change-Id: I1e2510ef4438932011ea28e72f36536252764ce5
Closes-Bug: #1290226
Merge "fix flake8 errors"