[openstack-dev] [oslo][glance] Oslo.cfg resets not really resetting the CONF

Amala Basha Alungal amalaba at thoughtworks.com
Fri Dec 13 08:44:59 UTC 2013


I stumbled into a situation today where in I had to write few tests that
modifies the oslo.config.cfg and in turn resets the values back in a tear
down. Acc to the docs, oslo.cfg reset() "*Clears the object state and
unsets overrides and defaults." *but, it doesn't seem to be happening, as
the subsequent tests that are run retains these modified values and tests
behave abnormally. The patch has been submitted for review
Am I missing something obvious?

Thanks And Regards
Amala Basha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20131213/277b9911/attachment.html>

More information about the OpenStack-dev mailing list