Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias Assign NameStore Str ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad TryExcept body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore ListLoad Call NameLoad Str Dict Str Str Call NameLoad NameLoad Dict Str Str Call NameLoad Str Dict Str Str FunctionDef arguments args NameParam NameParam defaults body For NameStore AttributeLoad NameLoad attr body If CompareEq AttributeLoad NameLoad attr Call NameLoad NameLoad body Return NameLoad Raise Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad TryExcept body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore ListLoad Call NameLoad Str Dict Str Str decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad Str Str Assign NameStore ListLoad Call NameLoad keyword Num keyword Num Call NameLoad keyword Num keyword Num With Call NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad Str Str Assign NameStore ListLoad Call NameLoad keyword Num keyword NameLoad Call NameLoad keyword Num keyword Num With Call NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad Str Str Assign NameStore ListLoad Call NameLoad keyword Num keyword Num Call NameLoad keyword Num keyword Num With Call NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str keyword Num Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad Str Str Assign NameStore ListLoad Call NameLoad keyword Num keyword Num Call NameLoad keyword Num keyword Num With Call NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad Str Str FunctionDef arguments args defaults body For NameStore ListLoad Call NameLoad keyword Num keyword Num Call NameLoad keyword Num keyword Num body Expr Yield NameLoad decorator_list With Call NameLoad NameStore body Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad Str Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad Str Str Assign NameStore ListLoad Call NameLoad keyword Num keyword Str Call NameLoad keyword Num keyword Str With Call NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Str Str Str Str With Call NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A collections N/A sys N/A mock six moves cinderclient exceptions cinderclient utils cinderclient base cinderclient.openstack.common.apiclient base common_base cinderclient.tests.unit utils test_utils cinderclient.tests.unit.v2 fakes N/A UUID 8e8ec658-c7b0-4243-bdf8-6f7f2952c0d0 FakeResource N/A object N/A N/A NAME_ATTR name __init__ N/A N/A self _id properties N/A N/A N/A N/A self id _id N/A N/A N/A N/A self name N/A properties N/A name N/A N/A N/A KeyError N/A N/A N/A append_request_ids N/A N/A self resp N/A N/A N/A N/A N/A FakeManager N/A N/A base ManagerWithFind N/A N/A resource_class FakeResource N/A resources N/A N/A FakeResource 1234 N/A name entity_one N/A FakeResource UUID N/A name entity_two N/A FakeResource 5678 N/A name 9876 get N/A N/A self resource_id N/A N/A N/A resource N/A self resources N/A N/A N/A N/A resource id N/A str resource_id N/A N/A resource N/A N/A N/A exceptions NotFound resource_id N/A list N/A N/A self search_opts N/A N/A N/A N/A N/A common_base ListWithMeta N/A self resources N/A fakes REQUEST_ID N/A N/A FakeDisplayResource N/A object N/A N/A NAME_ATTR display_name __init__ N/A N/A self _id properties N/A N/A N/A N/A self id _id N/A N/A N/A N/A self display_name N/A properties N/A display_name N/A N/A N/A KeyError N/A N/A N/A append_request_ids N/A N/A self resp N/A N/A N/A N/A N/A FakeDisplayManager N/A FakeManager N/A N/A resource_class FakeDisplayResource N/A resources N/A N/A FakeDisplayResource 4242 N/A display_name entity_three N/A FindResourceTestCase N/A N/A test_utils TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super FindResourceTestCase self setUp N/A N/A self manager N/A FakeManager None N/A test_find_none N/A N/A self N/A N/A N/A N/A N/A self manager find N/A N/A mock Mock side_effect N/A N/A self manager find N/A N/A N/A self assertRaises N/A exceptions CommandError N/A utils find_resource N/A self manager asdf N/A N/A N/A self assertEqual 2 N/A N/A N/A self manager find call_count N/A test_find_by_integer_id N/A N/A self N/A N/A N/A output N/A N/A utils find_resource N/A self manager 1234 N/A N/A N/A self assertEqual N/A N/A N/A self manager get 1234 output N/A test_find_by_str_id N/A N/A self N/A N/A N/A output N/A N/A utils find_resource N/A self manager 1234 N/A N/A N/A self assertEqual N/A N/A N/A self manager get 1234 output N/A test_find_by_uuid N/A N/A self N/A N/A N/A output N/A N/A utils find_resource N/A self manager UUID N/A N/A N/A self assertEqual N/A N/A N/A self manager get UUID output N/A test_find_by_str_name N/A N/A self N/A N/A N/A output N/A N/A utils find_resource N/A self manager entity_one N/A N/A N/A self assertEqual N/A N/A N/A self manager get 1234 output N/A test_find_by_str_displayname N/A N/A self N/A N/A N/A display_manager N/A FakeDisplayManager None N/A output N/A N/A utils find_resource display_manager entity_three N/A N/A N/A self assertEqual N/A N/A display_manager get 4242 output N/A N/A CaptureStdout N/A object N/A N/A Context manager for capturing stdout from statements in its block. __enter__ N/A N/A self N/A N/A N/A N/A self real_stdout N/A sys stdout N/A N/A self stringio N/A N/A moves StringIO N/A N/A sys stdout N/A self stringio N/A self N/A __exit__ N/A N/A self N/A args N/A N/A N/A sys stdout N/A self real_stdout N/A N/A N/A N/A self stringio seek 0 N/A N/A self read N/A N/A self stringio read N/A N/A PrintListTestCase N/A N/A test_utils TestCase N/A test_print_list_with_list N/A N/A self N/A N/A N/A Row N/A N/A collections namedtuple Row N/A a b N/A to_print N/A N/A Row a 3 b 4 N/A Row a 1 b 2 N/A N/A CaptureStdout cso N/A N/A N/A N/A utils print_list to_print N/A a b N/A N/A N/A self assertEqual +---+---+
| a | b |
+---+---+
| 1 | 2 |
| 3 | 4 |
+---+---+
 N/A N/A cso read N/A test_print_list_with_None_data N/A N/A self N/A N/A N/A Row N/A N/A collections namedtuple Row N/A a b N/A to_print N/A N/A Row a 3 b None N/A Row a 1 b 2 N/A N/A CaptureStdout cso N/A N/A N/A N/A utils print_list to_print N/A a b N/A N/A N/A self assertEqual +---+---+
| a | b |
+---+---+
| 1 | 2 |
| 3 | - |
+---+---+
 N/A N/A cso read N/A test_print_list_with_list_sortby N/A N/A self N/A N/A N/A Row N/A N/A collections namedtuple Row N/A a b N/A to_print N/A N/A Row a 4 b 3 N/A Row a 2 b 1 N/A N/A CaptureStdout cso N/A N/A N/A N/A utils print_list to_print N/A a b sortby_index 1 N/A N/A N/A self assertEqual +---+---+
| a | b |
+---+---+
| 2 | 1 |
| 4 | 3 |
+---+---+
 N/A N/A cso read N/A test_print_list_with_list_no_sort N/A N/A self N/A N/A N/A Row N/A N/A collections namedtuple Row N/A a b N/A to_print N/A N/A Row a 3 b 4 N/A Row a 1 b 2 N/A N/A CaptureStdout cso N/A N/A N/A N/A utils print_list to_print N/A a b sortby_index None N/A N/A N/A self assertEqual +---+---+
| a | b |
+---+---+
| 3 | 4 |
| 1 | 2 |
+---+---+
 N/A N/A cso read N/A test_print_list_with_generator N/A N/A self N/A N/A N/A Row N/A N/A collections namedtuple Row N/A a b gen_rows N/A N/A N/A N/A N/A row N/A N/A Row a 1 b 2 N/A Row a 3 b 4 N/A N/A N/A row N/A N/A N/A CaptureStdout cso N/A N/A N/A N/A utils print_list N/A gen_rows N/A a b N/A N/A N/A self assertEqual +---+---+
| a | b |
+---+---+
| 1 | 2 |
| 3 | 4 |
+---+---+
 N/A N/A cso read N/A test_print_list_with_return N/A N/A self N/A N/A N/A Row N/A N/A collections namedtuple Row N/A a b N/A to_print N/A N/A Row a 3 b a
 N/A Row a 1 b c
d N/A N/A CaptureStdout cso N/A N/A N/A N/A utils print_list to_print N/A a b N/A N/A N/A self assertEqual +---+-----+
| a |  b  |
+---+-----+
| 1 | c d |
| 3 |  a  |
+---+-----+
 N/A N/A cso read N/A N/A PrintDictTestCase N/A N/A test_utils TestCase N/A test_print_dict_with_return N/A N/A self N/A N/A N/A d N/A a b c d A B C test
carriage

return N/A N/A CaptureStdout cso N/A N/A N/A N/A utils print_dict d N/A N/A N/A self assertEqual +----------+---------------+
| Property |     Value     |
+----------+---------------+
|    a     |       A       |
|    b     |       B       |
|    c     |       C       |
|    d     | test carriage |
|          |     return    |
+----------+---------------+
 N/A N/A cso read N/A N/A