'Tests that creating a v3 client and requesting a microversion
but asking to skip the version discovery check is honored.'

@mock.patch('cinderclient.client.get_highest_client_server_version', new_callable=mock.NonCallableMock)
@mock.patch('cinderclient.client.get_volume_api_from_url', return_value='3')
def test_create_v3_client_with_microversion_skip_version_check(self, get_volume_api, get_highest_version):

    client = cinder.cinderclient(self.ctxt, microversion='3.27', skip_version_check=True)
    self.assertEqual(cinder_api_versions.APIVersion('3.27'), client.api_version)
    get_volume_api.assert_called_once_with(self.mock_session.get_endpoint.return_value)
