Remove enable_notifications option
In the oslo.messaging to enable or disable notifications uses the 'notification_driver' option. This approach used in many Openstack projects. By default the option is empty, that means no notification will be send. To enable notification needs to set the value with one of supported drivers (e.g. messagingv2). Change-Id: Ifdc38d56a4fa3a1755fff72d4bef88937c0170ed
This commit is contained in:
parent
785869dee3
commit
fdbaa229df
|
@ -19,14 +19,15 @@ from oslotest import base
|
|||
from sahara import context
|
||||
from sahara.db import api as db_api
|
||||
from sahara import main
|
||||
from sahara.utils import rpc
|
||||
|
||||
|
||||
class SaharaTestCase(base.BaseTestCase):
|
||||
|
||||
def setUp(self):
|
||||
super(SaharaTestCase, self).setUp()
|
||||
|
||||
self.setup_context()
|
||||
rpc.setup('all-in-one')
|
||||
|
||||
def setup_context(self, username="test_user", tenant_id="tenant_1",
|
||||
auth_token="test_auth_token", tenant_name='test_tenant',
|
||||
|
|
Loading…
Reference in New Issue