'Tests a successful cells v2 upgrade check.'

def test_check_success(self):

    self._setup_cells()
    svc = self.start_service('compute')
    cell = self.cell_mappings[test.CELL1_NAME]
    hm = objects.HostMapping(context=context.get_admin_context(), host=svc.host, cell_mapping=cell)
    hm.create()
    result = self.cmd._check_cellsv2()
    self.assertEqual(status.UpgradeCheckCode.SUCCESS, result.code)
    self.assertIsNone(result.details)
