'Setup a normal cellsv2 environment.
This sets up the CellDatabase fixture with two cells, one cell0
and one normal cell. CellMappings are created for both so that
cells-aware code can find those two databases.'

def _setup_cells(self):

    celldbs = nova_fixtures.CellDatabases()
    celldbs.add_cell_database(objects.CellMapping.CELL0_UUID)
    celldbs.add_cell_database(uuids.cell1, default=True)
    self.useFixture(celldbs)
    ctxt = context.get_context()
    fake_transport = 'fake://nowhere/'
    c0 = objects.CellMapping(context=ctxt, uuid=objects.CellMapping.CELL0_UUID, name='cell0', transport_url=fake_transport, database_connection=objects.CellMapping.CELL0_UUID)
    c0.create()
    c1 = objects.CellMapping(context=ctxt, uuid=uuids.cell1, name=CELL1_NAME, transport_url=fake_transport, database_connection=uuids.cell1)
    c1.create()
    self.cell_mappings = {cm.name: cm for cm in (c0, c1)}
