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

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

Bases: oslotest.base.BaseTestCase

setUp()[source]
test_get()[source]
test_get_no_response_key()[source]
test_list()[source]
test_list_get()[source]
test_list_no_response_key()[source]
test_list_post()[source]
test_post()[source]
test_post_no_response_key()[source]
test_post_return_raw()[source]
class ironicclient.tests.unit.common.apiclient.test_base.CrudResource(manager, info, loaded=False)[source]

Bases: ironicclient.common.apiclient.base.Resource

class ironicclient.tests.unit.common.apiclient.test_base.CrudResourceManager(client)[source]

Bases: ironicclient.common.apiclient.base.CrudManager

Manager class for manipulating Identity crud_resources.

collection_key = 'crud_resources'
get(crud_resource)[source]
key = 'crud_resource'
resource_class

alias of CrudResource

class ironicclient.tests.unit.common.apiclient.test_base.HumanResource(manager, info, loaded=False)[source]

Bases: ironicclient.common.apiclient.base.Resource

HUMAN_ID = True
class ironicclient.tests.unit.common.apiclient.test_base.HumanResourceManager(client)[source]

Bases: ironicclient.common.apiclient.base.ManagerWithFind

get(human_resource)[source]
list()[source]
resource_class

alias of HumanResource

update(human_resource, name)[source]
class ironicclient.tests.unit.common.apiclient.test_base.ResourceTest(*args, **kwds)[source]

Bases: oslotest.base.BaseTestCase

test_getid()[source]
test_human_id()[source]
test_resource_repr()[source]
test_two_resources_with_diff_type_are_not_equal()[source]
test_two_resources_with_no_id_are_equal()[source]
test_two_resources_with_same_id_and_info_are_equal()[source]
test_two_resources_with_same_id_are_not_equal()[source]

Previous topic

The ironicclient.shell Module

Next topic

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

Project Source

This Page