Fix Gate Failure
This Patch fixes gate failure, encountered in recent version of oslo_messaging. Change-Id: I6d8ab882a7c157dcf4f78c805a4ce2d9b1fa3f14 Closes-Bug: #1716476
This commit is contained in:
parent
e74095da1f
commit
7bc984b84a
@ -28,12 +28,18 @@ from watcher.tests import base
|
||||
CONF = cfg.CONF
|
||||
|
||||
|
||||
class DummyEndpoint(object):
|
||||
|
||||
def __init__(self, messaging):
|
||||
self._messaging = messaging
|
||||
|
||||
|
||||
class DummyManager(object):
|
||||
|
||||
API_VERSION = '1.0'
|
||||
|
||||
conductor_endpoints = [mock.Mock()]
|
||||
notification_endpoints = [mock.Mock()]
|
||||
conductor_endpoints = [DummyEndpoint]
|
||||
notification_endpoints = [DummyEndpoint]
|
||||
|
||||
def __init__(self):
|
||||
self.publisher_id = "pub_id"
|
||||
|
Loading…
x
Reference in New Issue
Block a user