Mehdi Abaakouk 3ee1fa3f13 Always init cfg.CONF before running a test
In all tests cfg.CONF is not (re)initialised correctly
By chance in ceilometer , the only method that fail when conf is not
initialised is cfg.CONF.find_file.
And because some tests do special initialisation (ie: the ones that test
ceilometer.service.prepare_service stuff), the method cfg.CONF.find_file
works when we run all tests.

But if you decide to run only one test (like below) that use find_file it fail
because cfg.CONF is not initialised.

  tox -epy27,pep8 api.v2

Not all configurations opts are impacted but only the CLI opts ones that are
set only when cfg.CONF() is called.

This change initialise cfg.CONF on each test (but the test can
continue to reinitialise it if needed)

Change-Id: I37842e945a7e2908e17d5ce886e17047a36818f7
2013-07-23 18:10:09 +02:00
2013-07-02 18:54:00 -04:00
2013-05-18 18:06:38 +10:00
2012-11-11 19:13:08 +00:00
2013-05-18 18:06:38 +10:00
2013-05-11 12:44:54 -04:00
2013-03-15 14:25:48 +00:00
2013-05-11 12:44:54 -04:00
2013-07-14 21:09:38 +02:00
2012-12-05 10:22:43 +01:00
2013-07-21 16:24:42 +02:00
2013-05-11 12:44:54 -04:00

ceilometer

See the ReleaseNotes document and the project home for more info.

http://launchpad.net/ceilometer

Description
OpenStack Telemetry (Ceilometer) Alarming
Readme 21 MiB
Languages
Python 98%
Shell 1.8%
Mako 0.2%