explicitly set the notifier type in unit tests

Running the unit tests with lower-constraints.txt fail if the option
is not set explicitly.

Change-Id: Id559b33d1e4ae34eab897e2b4bc14b1b2938d0da
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2018-04-09 17:33:35 -04:00
parent df22712079
commit 0d74eddb10

@ -53,6 +53,7 @@ class NotifyEventsTest(base.NotifierTestCase):
self.publishers['noop'].publish.reset_mock()
del EVENT_LOGS[:]
cfg.CONF.set_default('type', 'local', group='notifier')
def tearDown(self):
cfg.CONF.set_default('notify', None, group='notifier')