'Tests that creating a v3 client, which is the default, and without
specifying a microversion will default to 3.0 as the version to use.'

@mock.patch('cinderclient.client.get_volume_api_from_url', return_value='3')
def test_create_v3_client_no_microversion(self, get_volume_api):

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