Skip to content

Commit b582f54

Browse files
Zuulopenstack-gerrit
Zuul
authored andcommitted
Merge "unit tests: address TODO in base test case"
2 parents 7489360 + fcbe82e commit b582f54

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

cinder/tests/unit/test.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
from oslo_config import fixture as config_fixture
3535
from oslo_log.fixture import logging_error as log_fixture
3636
import oslo_messaging
37-
from oslo_messaging._drivers import impl_fake as fake_msging
3837
from oslo_messaging import conffixture as messaging_conffixture
3938
from oslo_serialization import jsonutils
4039
from oslo_utils import strutils
@@ -201,9 +200,6 @@ def setUp(self):
201200
rpc.add_extra_exmods("cinder.tests.unit")
202201
self.addCleanup(rpc.clear_extra_exmods)
203202
self.addCleanup(rpc.cleanup)
204-
# TODO: Remove line after comment once the oslo.messaging fix merges
205-
# https://review.opendev.org/c/openstack/oslo.messaging/+/901018
206-
self.addCleanup(fake_msging.FakeExchangeManager._exchanges.clear)
207203

208204
self.messaging_conf = messaging_conffixture.ConfFixture(CONF)
209205
self.messaging_conf.transport_url = 'fake:/'

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ oslo.concurrency>=4.5.0 # Apache-2.0
1616
oslo.context>=3.4.0 # Apache-2.0
1717
oslo.db>=11.0.0 # Apache-2.0
1818
oslo.log>=4.6.1 # Apache-2.0
19-
oslo.messaging>=14.1.0 # Apache-2.0
19+
oslo.messaging>=14.6.0 # Apache-2.0
2020
oslo.middleware>=4.1.1 # Apache-2.0
2121
oslo.policy>=4.5.0 # Apache-2.0
2222
oslo.privsep>=2.6.2 # Apache-2.0

0 commit comments

Comments
 (0)