OpenStack Telemetry (Ceilometer)
Go to file
Nejc Saje 84b228410e Fix tests with testtools>=0.9.39
NOTE: the RPC module that was causing problems in Icehouse no longer
exists in master, but the fix should be in the master as well to avoid
future problems.

'rpc_backend' config option in
ceilometer.openstack.common.rpc.__init__.py defaults to
'%s.impl_kombu' % __package__. Because the RPC module is imported
in some other files as ceilometer.openstack.common.rpc, rpc_backend
is set to 'ceilometer.openstack.common.rpc.impl_kombu'. But when
the test loader tries to import the RPC module as openstack.common.rpc
(since it is starting inside the ceilometer folder), registering the
option fails, because we try to register a different default value.

The issue surfaced because testtools==0.9.39 started checking __init__.py
files as well. It is fixed by passing a top-level directory parameter to
the test discovery process.

(cherry picked from commit 7ff220fc5c)

Conflicts:
	.testr.conf

Change-Id: I08036b54def3eb496772bcf183927b9f70bb7a86
Closes-bug: #1365613
2014-09-08 10:57:40 +02:00
bin Remove (c) and remove unnecessary encoding lines 2014-05-31 13:02:21 +02:00
ceilometer Merge "Switch to oslo.serialization" 2014-09-04 10:12:52 +00:00
doc Merge "XenAPI support: Update measurements documentation" 2014-09-04 00:24:15 +00:00
etc Permit usage of notifications for metering 2014-08-27 11:24:24 +02:00
nova_tests Switch to oslo.utils 2014-08-22 14:52:13 +02:00
tools Switch to oslo.utils 2014-08-22 14:52:13 +02:00
.coveragerc test code should be excluded from test coverage summary 2013-12-11 11:40:51 -05:00
.gitignore Clean up .gitignore 2014-06-16 09:00:22 +02:00
.gitreview Update .gitreview for openstack. 2012-11-11 19:13:08 +00:00
.testr.conf Fix tests with testtools>=0.9.39 2014-09-08 10:57:40 +02:00
CONTRIBUTING.rst Fix the section name in CONTRIBUTING.rst 2014-07-01 14:56:49 +08:00
LICENSE include a copy of the ASL 2.0 2013-03-15 14:25:48 +00:00
MAINTAINERS Fix some spelling mistakes and a incorrect url 2014-03-06 11:28:50 +08:00
README.rst Rename README.md to README.rst 2013-07-14 21:09:38 +02:00
ReleaseNotes Update documentation URL 2012-12-05 10:22:43 +01:00
babel.cfg Ground work for transifex-ify ceilometer. 2012-12-18 10:14:03 +08:00
openstack-common.conf Switch to oslo.serialization 2014-08-29 14:33:23 +02:00
requirements-py3.txt update requirements 2014-08-27 11:10:45 -04:00
requirements.txt Merge "Switch to oslo.serialization" 2014-09-04 10:12:52 +00:00
setup-test-env.sh Remove --tmpdir from mktemp 2014-07-28 16:52:34 +02:00
setup.cfg Switch partitioned alarm evaluation to a hash-based approach 2014-09-01 14:47:41 -04:00
setup.py Updated from global requirements 2014-05-20 12:59:42 -04:00
test-requirements-py3.txt update requirements 2014-08-27 11:10:45 -04:00
test-requirements.txt update requirements 2014-08-27 11:10:45 -04:00
tox.ini re-add hashseed to avoid gate error 2014-08-22 17:37:23 -04:00

README.rst

ceilometer

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

http://launchpad.net/ceilometer