def METHOD_NAME(self):
    client = self.session.create_client('ec2', region_name='us-west-2')
    try:
        client.describe_regions(DryRun=True)
    except client.exceptions.ClientError as e:
        self.assertIs(e.__class__, ClientError)