Module Import alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword ListLoad NameLoad ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Str attr Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Str attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Str attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Str attr Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Str attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list decorator_list Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str
N/A N/A mock solum.api.controllers.camp.v1_1.datamodel attribute_definitions solum.api.controllers.camp.v1_1.datamodel type_definitions model solum.api.controllers.camp.v1_1 type_definitions solum objects solum.tests base solum.tests fakes N/A TEST_ATTR_DEFINITION N/A N/A attribute_definitions AttributeDefinition type attribute_definition name fake_attribute N/A TEST_ATTR_DEF_LINK N/A N/A model AttributeLink href fake_attribute_definition_url target_name fake_attribute N/A TEST_TYPE_DEFINITION N/A N/A model TypeDefinition type type_definition name fake_type description fake CAMP type definition attribute_definition_links N/A TEST_ATTR_DEF_LINK TestTypeDefinitions N/A N/A base BaseTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestTypeDefinitions self setUp N/A N/A N/A objects load N/A test_type_definitions_get N/A N/A self AttributeDefinitionHandler TypeDefinitionHandler resp_mock request_mock N/A N/A N/A thand_get_all N/A N/A TypeDefinitionHandler return_value get_all N/A N/A thand_get_all return_value N/A TEST_TYPE_DEFINITION N/A cont N/A N/A type_definitions TypeDefinitionsController N/A resp N/A N/A cont get N/A N/A N/A self assertIsNotNone resp N/A N/A N/A self assertEqual 200 N/A resp_mock status N/A N/A N/A self assertIsNotNone N/A N/A resp N/A result type_definition_links N/A td_links N/A N/A resp N/A result type_definition_links N/A N/A N/A self assertEqual 1 N/A len td_links N/A N/A N/A self assertEqual N/A TEST_TYPE_DEFINITION name N/A N/A td_links N/A 0 target_name N/A test_type_definitions_get_one N/A N/A self AttributeDefinitionHandler TypeDefinitionHandler resp_mock request_mock N/A N/A N/A ahand_get N/A N/A AttributeDefinitionHandler return_value get N/A N/A ahand_get return_value TEST_ATTR_DEFINITION N/A thand_get N/A N/A TypeDefinitionHandler return_value get N/A N/A thand_get return_value TEST_TYPE_DEFINITION N/A cont N/A N/A type_definitions TypeDefinitionsController N/A resp N/A N/A cont get_one fake_type N/A N/A N/A self assertIsNotNone resp N/A N/A N/A self assertEqual 200 N/A resp_mock status N/A N/A N/A self assertEqual N/A TEST_TYPE_DEFINITION type N/A N/A resp N/A result type N/A N/A N/A self assertEqual N/A TEST_TYPE_DEFINITION name N/A N/A resp N/A result name N/A ad_links N/A N/A resp N/A result attribute_definition_links N/A N/A N/A self assertEqual 1 N/A len ad_links N/A N/A N/A self assertEqual N/A TEST_ATTR_DEFINITION name N/A N/A ad_links N/A 0 target_name N/A test_type_definition_get_not_found N/A N/A self AttributeDefinitionHandler TypeDefinitionHandler resp_mock request_mock N/A N/A N/A thand_get N/A N/A TypeDefinitionHandler return_value get N/A N/A thand_get return_value None N/A cont N/A N/A type_definitions TypeDefinitionsController N/A resp N/A N/A cont get_one non_existent_type N/A N/A N/A self assertIsNotNone resp N/A N/A N/A self assertEqual 404 N/A resp_mock status N/A N/A N/A N/A mock patch pecan.request new_callable N/A fakes FakePecanRequest N/A N/A mock patch pecan.response new_callable N/A fakes FakePecanResponse N/A N/A mock patch solum.api.handlers.camp.type_definition_handler.TypeDefinitionHandler N/A N/A mock patch solum.api.handlers.camp.attribute_definition_handler.AttributeDefinitionHandler