Error running test coverage: "no such option: --coverage"

Bug #1245539 reported by Lars Butler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Medium
David Stanek

Bug Description

When running the keystone test suite with the coverage option, the following error occurs: http://paste.openstack.org/show/50060/

I can produce this error with either of the following commands:

- tox -e cover
- python setup.py testr --testr-args=--coverage # run inside the `cover` virtualenv

Revision history for this message
Lars Butler (lars-butler) wrote :

dolphm recommended the following correction to the command: `python setup.py testr --coverage`. This works for me. The tox.ini should probably be revised accordingly.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

Fix proposed to branch: master
Review: https://review.openstack.org/54140

Changed in keystone:
assignee: nobody → David Stanek (dstanek)
status: New → In Progress
Dolph Mathews (dolph)
Changed in keystone:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/54140
Committed: http://github.com/openstack/keystone/commit/bc53d1e3ba9531900fc7fe1f4a4207ab574b1a43
Submitter: Jenkins
Branch: master

commit bc53d1e3ba9531900fc7fe1f4a4207ab574b1a43
Author: David Stanek <email address hidden>
Date: Mon Oct 28 15:41:55 2013 +0000

    Fixes tox coverage command

    Change-Id: Id1816cca49989f5d38be285d9b2acca9ca6a2f56
    Closes-Bug: #1245539

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
milestone: none → icehouse-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: icehouse-1 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.