Merge "Override Mesos config in configuration tests"

This commit is contained in:
Jenkins 2016-03-29 12:23:57 +00:00 committed by Gerrit Code Review
commit c3ca7c4efb
1 changed files with 2 additions and 0 deletions

View File

@ -20,12 +20,14 @@ from kolla_mesos.tests import base
from kolla_mesos.tests.fakes import mesos as fake_mesos
CONF = cfg.CONF
CONF.import_group('mesos', 'kolla_mesos.config.mesos')
class TestConfiguration(base.BaseTestCase):
def setUp(self):
super(TestConfiguration, self).setUp()
CONF.set_override('host', 'http://127.0.0.1:5050', group='mesos')
self.client = fake_client.FakeClient()
self.client.start()
self.addCleanup(self.client.stop)