unittests cannot be run without installation
Bug #1196275 reported by
Monty Taylor
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Medium
|
Monty Taylor |
Bug Description
Due to the move of glance-manage to entrypoints, it's now not possible to run glance's unittests in a non-installed location, which makes things awkward for packagers.
Eventually, glance manage should be able to be importable so that we could just use it - but this is prevented by the global oslo.config object. Until that gets fixed, a workaround is to make glance.cmd.manage able to be run via python -m and then execute that via sys.executable so that we ensure it picks up the current running python (in case of virtualenvs)
Changed in glance: | |
milestone: | none → havana-2 |
assignee: | nobody → Monty Taylor (mordred) |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | havana-2 → 2013.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/35044
Review: https:/