'Test failure when no credentials are specified.
Replicate in devstack: start devstack with or without
placement engine, remove the auth section from the [placement]
block in nova.conf.'

@mock.patch.object(keystone, 'load_auth_from_conf_options')
def test_no_auth(self, auth):

    auth.side_effect = ks_exc.MissingAuthPlugin()
    res = self.cmd._check_placement()
    self.assertEqual(status.UpgradeCheckCode.FAILURE, res.code)
    self.assertIn('No    credentials    specified', res.details)
