'Test trust_id is takes precedence username/password specified.'

def test_trust_init_pw(self):

    self._stubs_v2(method='trust')
    self.m.ReplayAll()
    self.ctx.auth_token = None
    self.ctx.trust_id = 'atrust123'
    self.ctx.trustor_user_id = 'trustor_user_id'
    heat_ks_client = heat_keystoneclient.KeystoneClientV2(self.ctx)
    self.assertIsNotNone(heat_ks_client._client)
