pep8 finish: envreport after 0.29 seconds
pep8 installed: Babel==2.6.0,bandit==1.6.2,bashate==0.6.0,flake8==3.8.4,gitdb2==2.0.5,GitPython==2.1.11,hacking==4.1.0,isort==4.3.21,mccabe==0.6.1,mock==2.0.0,pathspec==0.8.1,pbr==5.1.3,pycodestyle==2.6.0,pyflakes==2.2.0,pytz==2018.9,PyYAML==3.13,six==1.12.0,smmap2==2.0.5,stevedore==1.30.1,yamllint==1.26.1
pep8 start: run-test-pre
pep8 run-test-pre: PYTHONHASHSEED='4268031942'
pep8 finish: run-test-pre after 0.00 seconds
pep8 start: run-test
pep8 run-test: commands[0] | flake8
setting PATH=/home/zuul/src/opendev.org/starlingx/fault/.tox/pep8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
[1746] /home/zuul/src/opendev.org/starlingx/fault$ /home/zuul/src/opendev.org/starlingx/fault/.tox/pep8/bin/flake8
./fm-rest-api/fm/fm/tests/base.py:26:1: H216: The unittest.mock module should be used rather than the third party mock package unless actually needed. If so, disable the H216 check in hacking config and ensure mock is declared in the project's requirements.
import mock
^
ERROR: InvocationError for command /home/zuul/src/opendev.org/starlingx/fault/.tox/pep8/bin/flake8 (exited with code 1)
pep8 finish: run-test after 1.08 seconds
pep8 start: run-test-post
pep8 finish: run-test-post after 0.00 seconds
Related fix proposed to branch: master /review. opendev. org/c/starlingx /fault/ +/788048
Review: https:/