Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/k/a/kamaki-0.12.10/kamaki/clients/test.py   kamaki(Download)
 
        for msg, sts_code in (('err msg', 32), ('', 42), ('an err', None)):
            err = self.CE(msg, sts_code) if sts_code else Exception(msg)
            try:
                self.client._raise_for_status(err)