[openstack-dev] [quantum] tox -e pep8 warns about test command not installed

Henry Gessau gessau at cisco.com
Fri May 17 02:04:33 UTC 2013


When I run 'tox -e pep8' I get the following warning:

  pep8 runtests: commands[0]
  WARNING:test command found but not installed in testenv
    cmd: /bin/bash
    env: /home/henry/Dev/q-cisco-ut/.tox/pep8
  Maybe forgot to specify a dependency?
  Running flake8 ...
  ____________________ summary ___________________________
    pep8: commands succeeded

No big deal since flake8 does run, but I don't understand the warning.

It started after this was merged:

> Jenkins has submitted this change and it was merged.
> 
> Change subject: Fix ./run_tests.sh --pep8
> ......................................................................
> 
> 
> Fix ./run_tests.sh --pep8
> 
> Create a common script to call flake8 to share flake8 options and
> make tox and run_tests.sh use this script.
> 
> Fixes bug: 1179331
> 
> Change-Id: I92dc54fa3f4bb22aa39bde226b6d769088f9a2e3
> ---
> M run_tests.sh
> A tools/run_pep8.sh
> M tox.ini
> 3 files changed, 19 insertions(+), 24 deletions(-)
> 
> Approvals:
>   Jenkins: Verified
>   mark mcclain: Looks good to me (core reviewer); Approved
>   Aaron Rosen: Looks good to me (core reviewer)
> 
> 
> --
> To view, visit https://review.openstack.org/28917
> To unsubscribe, visit https://review.openstack.org/settings
> 
> Gerrit-MessageType: merged
> Gerrit-Change-Id: I92dc54fa3f4bb22aa39bde226b6d769088f9a2e3
> Gerrit-PatchSet: 3
> Gerrit-Project: openstack/quantum
> Gerrit-Branch: master



More information about the OpenStack-dev mailing list