[openstack-dev] Build-time unit tests failing when building glance 2013.2.b1

John Bresnahan jbresnah at redhat.com
Sun Jun 30 00:02:34 UTC 2013


> 
> I believe we should fix the unittests to not shell out to glance-manage
> in that manner. One of the nice things about moving the code from bin/
> to glance.cmd is that it's available inside of the source tree for
> unittests! :) What we want to do is call the glance.cmd.manage:main()
> function directly. So, for instance, in:
> 
> glance/tests/functional/__init__.py
> and
> glance/tests/functional/test_glance_manage.py
> 
> We can call the function itself, rather than the shell wrapper.

That was the original intention and major motivation for the patch.
However the configuration information is globally shared in the process
space so pushing this through gave me pause.

> I'll make a patch. 

excellent!  thanks!



More information about the OpenStack-dev mailing list