Merge "Address nits in Idf57fb5fbc611abb83943bd7e36d3cebf03b3977"
This commit is contained in:
commit
5c2242be03
|
@ -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):
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue