cinder scripts must use entry points
Bug #1398401 reported by
Mehdi Abaakouk
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Medium
|
Thang Pham |
Bug Description
Hi,
Currently, all cinder scripts are located in bin/ (outside the real source tree), and have a hyphen, this make them unloadable from the unittests, and so untestable.
A proper fix could be converting all the bin/* script into entry_points, so they can keep the hyphen and the source code will be move into the cinder/cmd for example. And then the code can be tested like any other piece of code.
Nova, neutron, glance, ceilometer,... already do that.
Regards,
sileht
Changed in cinder: | |
status: | In Progress → Fix Committed |
Changed in cinder: | |
milestone: | none → kilo-1 |
Changed in cinder: | |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | kilo-1 → 2015.1.0 |
To post a comment you must log in.
There is an open review for this. https:/ /review. openstack. org/#/c/ 101412/ There is also a BP associated with it: https:/ /blueprints. launchpad. net/openstack/ ?searchtext= unit-test- cases-for- cinder- scripts