diff options
author | Mark McLoughlin <markmc@redhat.com> | 2012-07-20 17:04:54 +0100 |
---|---|---|
committer | Mark McLoughlin <markmc@redhat.com> | 2012-07-20 17:05:43 +0100 |
commit | a224d7048068330fb62624c2d2a542d0ad30d8dc (patch) | |
tree | 2c79eb4ba888c91592cc03c123d1b208ae7ddfb8 /tests/unit/rpc/common.py | |
parent | a852c832e4576e69eb3b15a5989375c79a3aac46 (diff) | |
download | oslo-a224d7048068330fb62624c2d2a542d0ad30d8dc.tar.gz oslo-a224d7048068330fb62624c2d2a542d0ad30d8dc.tar.xz oslo-a224d7048068330fb62624c2d2a542d0ad30d8dc.zip |
Use BaseTestCase for all tests which override config
Fixes bug #1027120
We already have nice helper methods for overriding config and cleaning
up the overrides, so let's use them.
Change-Id: Ibd501743d1c4ec21cb2b0d22382cb681ee5768ed
Diffstat (limited to 'tests/unit/rpc/common.py')
-rw-r--r-- | tests/unit/rpc/common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/rpc/common.py b/tests/unit/rpc/common.py index 3497688..5f21328 100644 --- a/tests/unit/rpc/common.py +++ b/tests/unit/rpc/common.py @@ -21,7 +21,6 @@ Unit Tests for remote procedure calls shared between all implementations import logging import time -import unittest import eventlet from eventlet import greenthread @@ -33,13 +32,14 @@ from openstack.common.gettextutils import _ from openstack.common.rpc import amqp as rpc_amqp from openstack.common.rpc import common as rpc_common from openstack.common.rpc import dispatcher as rpc_dispatcher +from tests import utils as test_utils FLAGS = cfg.CONF LOG = logging.getLogger(__name__) -class BaseRpcTestCase(unittest.TestCase): +class BaseRpcTestCase(test_utils.BaseTestCase): def setUp(self, supports_timeouts=True, topic='test', topic_nested='nested'): super(BaseRpcTestCase, self).setUp() |