Restrict test_compute_cells to nova-network
Cells v1 is essentially being tied to nova-network now so there isn't much point in making the unit tests work with Neutron, so just always set CONF.use_neutron=False for the cells v1 compute tests. Part of blueprint use-neutron-by-default Change-Id: I842fa4388bef13a29a4ebc8e115fc5c60bf119d7
This commit is contained in:
parent
bacce31db8
commit
002f893c71
|
@ -108,6 +108,7 @@ def deploy_stubs(stubs, api, original_instance=None):
|
||||||
|
|
||||||
class CellsComputeAPITestCase(test_compute.ComputeAPITestCase):
|
class CellsComputeAPITestCase(test_compute.ComputeAPITestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
|
self.flags(use_neutron=False)
|
||||||
super(CellsComputeAPITestCase, self).setUp()
|
super(CellsComputeAPITestCase, self).setUp()
|
||||||
global ORIG_COMPUTE_API
|
global ORIG_COMPUTE_API
|
||||||
ORIG_COMPUTE_API = self.compute_api
|
ORIG_COMPUTE_API = self.compute_api
|
||||||
|
|
Loading…
Reference in New Issue