Address nits in Idf57fb5fbc611abb83943bd7e36d3cebf03b3977

Change-Id: Idfca23d3b65537f58e906334109112f784eb8718
This commit is contained in:
Yikun Jiang 2018-04-13 20:12:44 +08:00 committed by Yikun Jiang (Kero)
parent 484268133d
commit ee29fe6d7c
2 changed files with 2 additions and 2 deletions

View File

@ -6014,7 +6014,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):