'Test if we get a keystoneauth exception.
If we get a random keystoneauth exception, fall back and
assume the project exists.'

@mock.patch('keystoneauth1.session.Session.get')
def test_early_fail(self, get):

    get.side_effect = kse.ConnectionError()
    self.assertTrue(identity.verify_project_id(mock.MagicMock(), 'foo'))
