'Tests the scenario where we don\'t have any cell mappings (no cells
v2 setup yet) and no compute nodes in the single main database.'

def test_check_resource_providers_fresh_install_no_mappings(self):

    self.useFixture(nova_fixtures.Database())
    result = self.cmd._check_resource_providers()
    self.assertEqual(status.UpgradeCheckCode.SUCCESS, result.code)
    self.assertIn('There    are    no    compute    resource    providers    in    the    Placement    service    nor    are    there    compute    nodes    in    the    database', result.details)
