'Test region_name is used when specified.'

def test_region_name(self):

    self._stubs_v2(method='trust', region='region123')
    self.m.ReplayAll()
    self.ctx.username = None
    self.ctx.password = None
    self.ctx.auth_token = None
    self.ctx.trust_id = 'atrust123'
    self.ctx.trustor_user_id = 'trustor_user_id'
    self.ctx.region_name = 'region123'
    heat_keystoneclient.KeystoneClientV2(self.ctx)
    self.m.VerifyAll()
