Did I find the right examples for you? yes no

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

src/p/y/python-ironicclient-0.1.4/ironicclient/tests/test_http.py   python-ironicclient(Download)
            lambda *a, **kw: utils.FakeConnection(fake_resp)
 
        error = self.assertRaises(exc.InternalServerError,
                                  client.json_request,
                                  'GET', '/v1/resources')
            lambda *a, **kw: utils.FakeConnection(fake_resp)
 
        error = self.assertRaises(exc.InternalServerError,
                                  client.json_request,
                                  'GET', '/v1/resources')
            lambda *a, **kw: utils.FakeConnection(fake_resp)
 
        error = self.assertRaises(exc.InternalServerError,
                                  client.json_request,
                                  'GET', '/v1/resources')

src/p/y/python-ironicclient-0.1.4/ironicclient/tests/test_utils.py   python-ironicclient(Download)
            'op': 'add',
        }
        self.assertRaises(exc.CommandError, utils.args_array_to_patch,
                          my_args['op'], my_args['attributes'])
 

src/p/y/python-ironicclient-0.1.4/ironicclient/tests/test_shell.py   python-ironicclient(Download)
    def test_help_unknown_command(self):
        self.assertRaises(exc.CommandError, self.shell, 'help foofoo')
 
    def test_debug(self):
        httplib2.debuglevel = 0

src/p/y/python-ironicclient-0.1.4/ironicclient/tests/test_client.py   python-ironicclient(Download)
            'os_auth_token': '',
        }
        self.assertRaises(exc.AmbigiousAuthSystem, get_client, '1', **kwargs)