'Test creating the client, token v3 auth_ref.'

def test_init_v3_token_auth_ref_v3(self):

    expected_auth_ref = {'auth_token': 'ctx_token', 'expires': '456', 'version': 'v3', 'methods': []}
    self._stubs_auth(method='auth_ref', auth_ref=expected_auth_ref)
    self.m.ReplayAll()
    ctx = utils.dummy_context()
    ctx.username = None
    ctx.password = None
    ctx.trust_id = None
    ctx.auth_token = 'ctx_token'
    ctx.auth_token_info = {'token': {'expires': '456', 'methods': []}}
    heat_ks_client = heat_keystoneclient.KeystoneClient(ctx)
    heat_ks_client.client
    self.assertIsNotNone(heat_ks_client._client)
