'Test create_trust_context with existing trust_id.'

def test_create_trust_context_trust_id(self):

    self._stubs_auth(method='trust')
    cfg.CONF.set_override('deferred_auth_method', 'trusts')
    self.m.ReplayAll()
    ctx = utils.dummy_context()
    ctx.trust_id = 'atrust123'
    ctx.trustor_user_id = 'trustor_user_id'
    heat_ks_client = heat_keystoneclient.KeystoneClient(ctx)
    trust_context = heat_ks_client.create_trust_context()
    self.assertEqual(ctx.to_dict(), trust_context.to_dict())
