From e6221aef92fc2a0bdd035fdd04d28e0a62d0a70e Mon Sep 17 00:00:00 2001 From: Chris Dent Date: Tue, 29 Jul 2014 12:06:34 +0100 Subject: [PATCH] Allow tests to run outside tox When using a test runner outside of tox (for example using py.test directly against test files, one of several ways to enable faster and more specific testing) oslo.messaging.conffixture is not imported and text/base fails to compile. This change gets things working and otherwise has no impact. Change-Id: Ibac6ae0a73aa55522b248a26b9a4b82455f8fce6 --- ceilometer/tests/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceilometer/tests/base.py b/ceilometer/tests/base.py index f0c797134..3c022a7ab 100644 --- a/ceilometer/tests/base.py +++ b/ceilometer/tests/base.py @@ -21,7 +21,7 @@ import functools import os.path import eventlet -import oslo.messaging +import oslo.messaging.conffixture import six from testtools import testcase