diff options
| author | Joe Gordon <jogo@cloudscaling.com> | 2013-03-25 16:37:39 -0400 |
|---|---|---|
| committer | Joe Gordon <jogo@cloudscaling.com> | 2013-03-25 17:15:22 -0400 |
| commit | d7ae4ff11c7ef543c6b717952f98de236fa20d96 (patch) | |
| tree | f9f0b7e582d54ba901d9aa164dc0353122f4c362 /tests/unit | |
| parent | 575e74d352d685773513218a286979bb58920246 (diff) | |
Remove deprecated Grizzly features
Now that Havana has started, remove deprecated Grizzly features
* deprecated alias list_notifier_drivers (for notification_driver)
* openstack/common/notifier/rabbit_notifier.py (use rpc_notifier
instead)
Change-Id: I0dbb997ba774f58766bddf950049ec1e2d5b79de
Diffstat (limited to 'tests/unit')
| -rw-r--r-- | tests/unit/test_notifier.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/unit/test_notifier.py b/tests/unit/test_notifier.py index f2aa3a0..90d811f 100644 --- a/tests/unit/test_notifier.py +++ b/tests/unit/test_notifier.py @@ -88,9 +88,6 @@ class NotifierTestCase(test_utils.BaseTestCase): self.assertEqual(self.mock_notify, True) self.assertEqual(self.envelope, envelope) - def test_rabbit_notifier(self): - self._test_rpc_notify('openstack.common.notifier.rabbit_notifier') - def test_rpc_notifier(self): self._test_rpc_notify('openstack.common.notifier.rpc_notifier') @@ -102,9 +99,9 @@ class NotifierTestCase(test_utils.BaseTestCase): notifier_api.notify, ctxt, 'publisher_id', 'event_type', 'not a priority', dict(a=3)) - def test_rabbit_priority_queue(self): + def test_rpc_priority_queue(self): self.stubs.Set(cfg.CONF, 'notification_driver', - ['openstack.common.notifier.rabbit_notifier']) + ['openstack.common.notifier.rpc_notifier']) self.stubs.Set(cfg.CONF, 'notification_topics', ['testnotify', ]) |
