Merge "Address nits in Idf57fb5fbc611abb83943bd7e36d3cebf03b3977"

This commit is contained in:
Zuul 2018-04-14 00:47:20 +00:00 committed by Gerrit Code Review
commit 5c2242be03
2 changed files with 2 additions and 2 deletions

View File

@ -5994,7 +5994,7 @@ class ComputeAPIUnitTestCase(_ComputeAPIUnitTestMixIn, test.NoDBTestCase):
def test_compute_api_host(self):
self.assertTrue(hasattr(self.compute_api, 'host'))
self.assertEqual(self.compute_api.host, CONF.host)
self.assertEqual(CONF.host, self.compute_api.host)
class Cellsv1DeprecatedTestMixIn(object):

View File

@ -288,7 +288,7 @@ class ConductorTestCase(_BaseTestCase, test.TestCase):
def test_conductor_host(self):
self.assertTrue(hasattr(self.conductor_manager, 'host'))
self.assertEqual(self.conductor_manager.host, CONF.host)
self.assertEqual(CONF.host, self.conductor_manager.host)
class ConductorRPCAPITestCase(_BaseTestCase, test.TestCase):