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:
Matt Riedemann 2016-11-14 13:55:14 -05:00
parent bacce31db8
commit 002f893c71
1 changed files with 1 additions and 0 deletions

View File

@ -108,6 +108,7 @@ def deploy_stubs(stubs, api, original_instance=None):
class CellsComputeAPITestCase(test_compute.ComputeAPITestCase):
def setUp(self):
self.flags(use_neutron=False)
super(CellsComputeAPITestCase, self).setUp()
global ORIG_COMPUTE_API
ORIG_COMPUTE_API = self.compute_api