Module Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr ListLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr ListLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr ListLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore TupleLoad Str Str Str body Assign NameStore Call AttributeLoad NameLoad attr Dict NameLoad Str Expr Call AttributeLoad NameLoad attr ListLoad BinOpMod Str NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr TupleLoad Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr TupleLoad Str Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr TupleLoad Str ListLoad Num Str Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr TupleLoad Str Dict Str Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr TupleLoad Str Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str ListLoad Str Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr ListLoad Dict Str Str Str Str Str Str Dict Str Str Str Str Num Str Dict Str Str Str Str NameLoad Str Dict Str Str Str Str ListLoad Num Num Num Str Dict Str Str Str Str Dict Str Str Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str ListLoad Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str ListLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr ListLoad Dict Str Str Str Str Dict Str Str Str Str NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Dict Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str Str Str Str Str Str Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str Str Str Str Str Str Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str Str Str Str Str Str Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str Str Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str Str Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str Str Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Dict Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Dict Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Num Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad TupleLoad Str Str TupleLoad Str Call AttributeLoad NameLoad attr ListLoad TupleLoad Str Num TupleLoad Str Str TupleLoad Str Str TupleLoad Str Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad TupleLoad Str SubscriptLoad NameLoad Index Str TupleLoad Str Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Str attr TupleLoad Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A collections N/A six magnumclient.common cliutils magnumclient.common utils magnumclient exceptions exc magnumclient.tests utils test_utils CommonFiltersTest N/A N/A test_utils BaseTestCase N/A test_limit N/A N/A self N/A N/A N/A result N/A N/A utils common_filters limit 42 N/A N/A N/A self assertEqual N/A limit=42 result N/A test_limit_0 N/A N/A self N/A N/A N/A result N/A N/A utils common_filters limit 0 N/A N/A N/A self assertEqual N/A limit=0 result N/A test_limit_negative_number N/A N/A self N/A N/A N/A result N/A N/A utils common_filters limit -2 N/A N/A N/A self assertEqual N/A limit=-2 result N/A test_other N/A N/A self N/A N/A N/A key N/A marker sort_key sort_dir N/A N/A result N/A N/A utils common_filters N/A key test N/A N/A N/A self assertEqual N/A N/A %s=test key result N/A N/A SplitAndDeserializeTest N/A N/A test_utils BaseTestCase N/A test_split_and_deserialize N/A N/A self N/A N/A N/A ret N/A N/A utils split_and_deserialize str=foo N/A N/A N/A self assertEqual N/A str foo ret N/A ret N/A N/A utils split_and_deserialize int=1 N/A N/A N/A self assertEqual N/A int 1 ret N/A ret N/A N/A utils split_and_deserialize bool=false N/A N/A N/A self assertEqual N/A bool False ret N/A ret N/A N/A utils split_and_deserialize list=[1, "foo", 2] N/A N/A N/A self assertEqual N/A list N/A 1 foo 2 ret N/A ret N/A N/A utils split_and_deserialize dict={"foo": 1} N/A N/A N/A self assertEqual N/A dict N/A foo 1 ret N/A ret N/A N/A utils split_and_deserialize str_int="1" N/A N/A N/A self assertEqual N/A str_int 1 ret N/A test_split_and_deserialize_fail N/A N/A self N/A N/A N/A N/A N/A self assertRaises N/A exc CommandError N/A utils split_and_deserialize foo:bar N/A N/A ArgsArrayToPatchTest N/A N/A test_utils BaseTestCase N/A test_args_array_to_patch N/A N/A self N/A N/A N/A my_args N/A attributes op N/A str=foo int=1 bool=true list=[1, 2, 3] dict={"foo": "bar"} add N/A patch N/A N/A utils args_array_to_patch N/A my_args N/A op N/A my_args N/A attributes N/A N/A N/A self assertEqual N/A N/A op value path add foo /str N/A op value path add 1 /int N/A op value path add True /bool N/A op value path add N/A 1 2 3 /list N/A op value path add N/A foo bar /dict patch N/A test_args_array_to_patch_format_error N/A N/A self N/A N/A N/A my_args N/A attributes op N/A foobar add N/A N/A N/A self assertRaises N/A exc CommandError N/A utils args_array_to_patch N/A my_args N/A op N/A my_args N/A attributes N/A test_args_array_to_patch_remove N/A N/A self N/A N/A N/A my_args N/A attributes op N/A /foo extra/bar remove N/A patch N/A N/A utils args_array_to_patch N/A my_args N/A op N/A my_args N/A attributes N/A N/A N/A self assertEqual N/A N/A op path remove /foo N/A op path remove /extra/bar patch N/A N/A FormatLabelsTest N/A N/A test_utils BaseTestCase N/A test_format_label_none N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A utils format_labels None N/A test_format_labels N/A N/A self N/A N/A N/A l N/A N/A utils format_labels N/A K1=V1,K2=V2,K3=V3,K4=V4,K5=V5 N/A N/A N/A self assertEqual N/A K1 K2 K3 K4 K5 V1 V2 V3 V4 V5 l N/A test_format_labels_semicolon N/A N/A self N/A N/A N/A l N/A N/A utils format_labels N/A K1=V1;K2=V2;K3=V3;K4=V4;K5=V5 N/A N/A N/A self assertEqual N/A K1 K2 K3 K4 K5 V1 V2 V3 V4 V5 l N/A test_format_labels_mix_commas_semicolon N/A N/A self N/A N/A N/A l N/A N/A utils format_labels N/A K1=V1,K2=V2,K3=V3;K4=V4,K5=V5 N/A N/A N/A self assertEqual N/A K1 K2 K3 K4 K5 V1 V2 V3 V4 V5 l N/A test_format_labels_split N/A N/A self N/A N/A N/A l N/A N/A utils format_labels N/A K1=V1,K2=V22222222222222222222222222222222222222222222222222222222,K3=3.3.3.3 N/A N/A N/A self assertEqual N/A K1 K2 K3 V1 V22222222222222222222222222222222222222222222222222222222 3.3.3.3 l N/A test_format_labels_multiple N/A N/A self N/A N/A N/A l N/A N/A utils format_labels N/A K1=V1 K2=V22222222222222222222222222222222222222222222222222222222 K3=3.3.3.3 N/A N/A N/A self assertEqual N/A K1 K2 K3 V1 V22222222222222222222222222222222222222222222222222222222 3.3.3.3 l N/A test_format_labels_multiple_colon_values N/A N/A self N/A N/A N/A l N/A N/A utils format_labels N/A K1=V1 K2=V2,V22,V222,V2222 K3=3.3.3.3 N/A N/A N/A self assertEqual N/A K1 K2 K3 V1 V2,V22,V222,V2222 3.3.3.3 l N/A test_format_labels_parse_comma_false N/A N/A self N/A N/A N/A l N/A N/A utils format_labels N/A K1=V1,K2=2.2.2.2,K=V parse_comma False N/A N/A N/A self assertEqual N/A K1 V1,K2=2.2.2.2,K=V l N/A test_format_labels_multiple_values_per_labels N/A N/A self N/A N/A N/A l N/A N/A utils format_labels N/A K1=V1 K1=V2 N/A N/A N/A self assertIn K1 l N/A N/A N/A self assertIn V1 N/A l N/A K1 N/A N/A N/A self assertIn V2 N/A l N/A K1 N/A test_format_label_bad_label N/A N/A self N/A N/A N/A labels N/A K1=V1,K22.2.2.2 N/A ex N/A N/A self assertRaises N/A exc CommandError N/A utils format_labels labels N/A N/A N/A self assertEqual labels must be a list of KEY=VALUE not K22.2.2.2 N/A str ex N/A test_format_multiple_bad_label N/A N/A self N/A N/A N/A labels N/A K1=V1 K22.2.2.2 N/A ex N/A N/A self assertRaises N/A exc CommandError N/A utils format_labels labels N/A N/A N/A self assertEqual labels must be a list of KEY=VALUE not K22.2.2.2 N/A str ex N/A N/A CliUtilsTest N/A N/A test_utils BaseTestCase N/A test_keys_and_vals_to_strs N/A N/A self N/A N/A N/A dict_in N/A N/A N/A six u a N/A N/A six u b c N/A N/A six u 1 N/A N/A N/A six u x y N/A N/A six u z 1 N/A N/A six u 2 N/A N/A six u 3 7 N/A dict_exp N/A N/A collections OrderedDict N/A N/A a 1 N/A b N/A N/A collections OrderedDict N/A N/A x 1 N/A y 2 N/A z 3 N/A c 7 N/A dict_out N/A N/A cliutils keys_and_vals_to_strs dict_in N/A dict_act N/A N/A collections OrderedDict N/A N/A a N/A dict_out N/A a N/A b N/A N/A collections OrderedDict N/A sorted N/A N/A N/A dict_out N/A b items N/A c N/A dict_out N/A c N/A N/A N/A self assertEqual N/A N/A six text_type dict_exp N/A N/A six text_type dict_act N/A N/A