The ironicclient.tests.unit.common.apiclient.test_exceptions Module

class ironicclient.tests.unit.common.apiclient.test_exceptions.ExceptionsArgsTest(*args, **kwds)[source]

Bases: oslotest.base.BaseTestCase

assert_exception(ex_cls, method, url, status_code, json_data, error_msg=None, error_details=None, check_description=True)[source]
test_from_response_known()[source]
test_from_response_non_openstack()[source]
test_from_response_unknown()[source]
test_from_response_with_different_response_format()[source]
test_from_response_with_text_response_format()[source]
test_from_response_with_text_response_format_with_no_body()[source]
class ironicclient.tests.unit.common.apiclient.test_exceptions.FakeResponse(**kwargs)[source]

Bases: object

json()[source]
json_data = {}