Module ImportFrom alias alias Import alias ImportFrom alias alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Num NameLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Pass decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Pass decorator_list Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str Lambda arguments args NameParam defaults NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str Lambda arguments args NameParam NameParam defaults NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str Lambda arguments args NameParam NameParam defaults NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Return NameLoad decorator_list Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore TupleLoad Call NameLoad ListLoad Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str Lambda arguments args NameParam defaults vararg NameLoad For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd ListLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str Lambda arguments args defaults vararg NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad body Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str Lambda arguments args defaults NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad body FunctionDef arguments args NameParam NameParam defaults vararg body Pass decorator_list Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad body FunctionDef arguments args NameParam NameParam defaults NameLoad vararg body Pass decorator_list Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad body Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str Lambda arguments args NameParam defaults kwarg NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore TupleLoad Call NameLoad Call NameLoad Call NameLoad Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str Lambda arguments args NameParam defaults NameLoad Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str Lambda arguments args NameParam defaults NameLoad Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str Lambda arguments args NameParam defaults NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str Lambda arguments args NameParam defaults NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str Lambda arguments args NameParam NameParam defaults NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str Lambda arguments args NameParam NameParam defaults NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Return TupleLoad NameLoad NameLoad decorator_list Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr TupleLoad Str Str Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str Lambda arguments args NameParam defaults vararg NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str Lambda arguments args NameParam defaults NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str Lambda arguments args NameParam NameParam defaults NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str Lambda arguments args NameParam NameParam defaults NameLoad NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Return NameLoad decorator_list Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Lambda arguments args NameParam defaults NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Return NameLoad decorator_list Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Lambda arguments args NameParam defaults NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Return NameLoad decorator_list Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Lambda arguments args NameParam defaults NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str Lambda arguments args NameParam NameParam defaults NameLoad With Call AttributeLoad NameLoad attr NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return NameLoad decorator_list Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Lambda arguments args NameParam defaults NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return With Call AttributeLoad NameLoad attr NameLoad body FunctionDef arguments args NameParam defaults body Pass decorator_list Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Lambda arguments args NameParam defaults NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str attr Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str attr decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str attr Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str attr decorator_list decorator_list
N/A __future__ absolute_import unicode_literals N/A unittest mopidy.mpd exceptions protocol TestConverts N/A N/A unittest TestCase N/A test_integer N/A N/A self N/A N/A N/A N/A N/A self assertEqual 123 N/A N/A protocol INT 123 N/A N/A N/A self assertEqual -123 N/A N/A protocol INT -123 N/A N/A N/A self assertEqual 123 N/A N/A protocol INT +123 N/A N/A N/A self assertRaises ValueError N/A protocol INT 3.14 N/A N/A N/A self assertRaises ValueError N/A protocol INT N/A N/A N/A self assertRaises ValueError N/A protocol INT abc N/A N/A N/A self assertRaises ValueError N/A protocol INT 12 34 N/A test_unsigned_integer N/A N/A self N/A N/A N/A N/A N/A self assertEqual 123 N/A N/A protocol UINT 123 N/A N/A N/A self assertRaises ValueError N/A protocol UINT -123 N/A N/A N/A self assertRaises ValueError N/A protocol UINT +123 N/A N/A N/A self assertRaises ValueError N/A protocol UINT 3.14 N/A N/A N/A self assertRaises ValueError N/A protocol UINT N/A N/A N/A self assertRaises ValueError N/A protocol UINT abc N/A N/A N/A self assertRaises ValueError N/A protocol UINT 12 34 N/A test_boolean N/A N/A self N/A N/A N/A N/A N/A self assertEqual True N/A N/A protocol BOOL 1 N/A N/A N/A self assertEqual False N/A N/A protocol BOOL 0 N/A N/A N/A self assertRaises ValueError N/A protocol BOOL 3.14 N/A N/A N/A self assertRaises ValueError N/A protocol BOOL N/A N/A N/A self assertRaises ValueError N/A protocol BOOL true N/A N/A N/A self assertRaises ValueError N/A protocol BOOL false N/A N/A N/A self assertRaises ValueError N/A protocol BOOL abc N/A N/A N/A self assertRaises ValueError N/A protocol BOOL 12 34 N/A test_range N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A slice 1 2 N/A N/A protocol RANGE 1 N/A N/A N/A self assertEqual N/A slice 0 1 N/A N/A protocol RANGE 0 N/A N/A N/A self assertEqual N/A slice 0 None N/A N/A protocol RANGE 0: N/A N/A N/A self assertEqual N/A slice 1 3 N/A N/A protocol RANGE 1:3 N/A N/A N/A self assertRaises ValueError N/A protocol RANGE 3.14 N/A N/A N/A self assertRaises ValueError N/A protocol RANGE 1:abc N/A N/A N/A self assertRaises ValueError N/A protocol RANGE abc:1 N/A N/A N/A self assertRaises ValueError N/A protocol RANGE 2:1 N/A N/A N/A self assertRaises ValueError N/A protocol RANGE -1:2 N/A N/A N/A self assertRaises ValueError N/A protocol RANGE 1 : 2 N/A N/A N/A self assertRaises ValueError N/A protocol RANGE N/A N/A N/A self assertRaises ValueError N/A protocol RANGE true N/A N/A N/A self assertRaises ValueError N/A protocol RANGE false N/A N/A N/A self assertRaises ValueError N/A protocol RANGE abc N/A N/A N/A self assertRaises ValueError N/A protocol RANGE 12 34 N/A N/A TestCommands N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self commands N/A N/A protocol Commands N/A test_add_as_a_decorator N/A N/A self N/A N/A test N/A N/A context N/A N/A N/A N/A N/A N/A N/A self commands add test N/A test_register_second_command_to_same_name_fails N/A N/A self N/A N/A func N/A N/A context N/A N/A N/A N/A N/A N/A N/A N/A N/A self commands add foo func N/A N/A N/A self assertRaises Exception N/A N/A N/A N/A N/A N/A self commands add foo func N/A test_function_only_takes_context_succeeds N/A N/A self N/A N/A N/A sentinel N/A object N/A N/A N/A N/A N/A self commands add bar N/A N/A N/A context N/A sentinel N/A N/A N/A self assertEqual sentinel N/A N/A N/A self commands call N/A bar N/A test_function_has_required_arg_succeeds N/A N/A self N/A N/A N/A sentinel N/A object N/A N/A N/A N/A N/A self commands add bar N/A N/A N/A context required N/A sentinel N/A N/A N/A self assertEqual sentinel N/A N/A N/A self commands call N/A bar arg N/A test_function_has_optional_args_succeeds N/A N/A self N/A N/A N/A sentinel N/A object N/A N/A N/A N/A N/A self commands add bar N/A N/A N/A context optional N/A None sentinel N/A N/A N/A self assertEqual sentinel N/A N/A N/A self commands call N/A bar N/A N/A N/A self assertEqual sentinel N/A N/A N/A self commands call N/A bar arg N/A test_function_has_required_and_optional_args_succeeds N/A N/A self N/A N/A N/A sentinel N/A object func N/A N/A context required optional N/A None N/A N/A sentinel N/A N/A N/A N/A N/A N/A self commands add bar func N/A N/A N/A self assertEqual sentinel N/A N/A N/A self commands call N/A bar arg N/A N/A N/A self assertEqual sentinel N/A N/A N/A self commands call N/A bar arg arg N/A test_function_has_varargs_succeeds N/A N/A self N/A N/A N/A N/A sentinel args N/A N/A object N/A N/A N/A N/A N/A N/A self commands add bar N/A N/A N/A context N/A args sentinel N/A i N/A range 10 N/A N/A N/A N/A self assertEqual sentinel N/A N/A N/A self commands call N/A N/A bar args N/A N/A N/A args append test N/A test_function_has_only_varags_succeeds N/A N/A self N/A N/A N/A sentinel N/A object N/A N/A N/A N/A N/A self commands add baz N/A N/A N/A N/A args sentinel N/A N/A N/A self assertEqual sentinel N/A N/A N/A self commands call N/A baz N/A test_function_has_no_arguments_fails N/A N/A self N/A N/A N/A N/A N/A self assertRaises TypeError N/A N/A N/A N/A N/A N/A self commands add test N/A N/A N/A N/A True N/A test_function_has_required_and_varargs_fails N/A N/A self N/A N/A N/A N/A N/A self assertRaises TypeError N/A func N/A N/A context required N/A args N/A N/A N/A N/A N/A N/A N/A N/A self commands add test func N/A test_function_has_optional_and_varargs_fails N/A N/A self N/A N/A N/A N/A N/A self assertRaises TypeError N/A func N/A N/A context optional N/A None args N/A N/A N/A N/A N/A N/A N/A N/A self commands add test func N/A test_function_hash_keywordargs_fails N/A N/A self N/A N/A N/A N/A N/A self assertRaises TypeError N/A N/A N/A N/A N/A N/A self commands add test N/A N/A N/A context N/A kwargs True N/A test_call_chooses_correct_handler N/A N/A self N/A N/A N/A N/A sentinel1 sentinel2 sentinel3 N/A N/A object N/A object N/A object N/A N/A N/A N/A N/A self commands add foo N/A N/A N/A context N/A sentinel1 N/A N/A N/A N/A N/A self commands add bar N/A N/A N/A context N/A sentinel2 N/A N/A N/A N/A N/A self commands add baz N/A N/A N/A context N/A sentinel3 N/A N/A N/A self assertEqual sentinel1 N/A N/A N/A self commands call N/A foo N/A N/A N/A self assertEqual sentinel2 N/A N/A N/A self commands call N/A bar N/A N/A N/A self assertEqual sentinel3 N/A N/A N/A self commands call N/A baz N/A test_call_with_nonexistent_handler N/A N/A self N/A N/A N/A N/A N/A self assertRaises N/A exceptions MpdUnknownCommand N/A N/A N/A N/A N/A self commands call N/A bar N/A test_call_passes_context N/A N/A self N/A N/A N/A sentinel N/A object N/A N/A N/A N/A N/A self commands add foo N/A N/A N/A context N/A context N/A N/A N/A self assertEqual sentinel N/A N/A N/A self commands call N/A foo context sentinel N/A test_call_without_args_fails N/A N/A self N/A N/A N/A N/A N/A self assertRaises N/A exceptions MpdNoCommand N/A N/A N/A N/A N/A self commands call N/A N/A test_call_passes_required_argument N/A N/A self N/A N/A N/A N/A N/A N/A N/A self commands add foo N/A N/A N/A context required N/A required N/A N/A N/A self assertEqual test123 N/A N/A N/A self commands call N/A foo test123 N/A test_call_passes_optional_argument N/A N/A self N/A N/A N/A sentinel N/A object N/A N/A N/A N/A N/A self commands add foo N/A N/A N/A context optional N/A sentinel optional N/A N/A N/A self assertEqual sentinel N/A N/A N/A self commands call N/A foo N/A N/A N/A self assertEqual test N/A N/A N/A self commands call N/A foo test N/A test_call_passes_required_and_optional_argument N/A N/A self N/A N/A func N/A N/A context required optional N/A None N/A N/A N/A required optional N/A N/A N/A N/A N/A N/A self commands add foo func N/A N/A N/A self assertEqual N/A arg None N/A N/A N/A self commands call N/A foo arg N/A N/A N/A self assertEqual N/A arg kwarg N/A N/A N/A self commands call N/A foo arg kwarg N/A test_call_passes_varargs N/A N/A self N/A N/A N/A N/A N/A N/A N/A self commands add foo N/A N/A N/A context N/A args args N/A test_call_incorrect_args N/A N/A self N/A N/A N/A N/A N/A N/A N/A self commands add foo N/A N/A N/A context N/A context N/A N/A N/A self assertRaises N/A exceptions MpdArgError N/A N/A N/A N/A N/A self commands call N/A foo bar N/A N/A N/A N/A N/A self commands add bar N/A N/A N/A context required N/A context N/A N/A N/A self assertRaises N/A exceptions MpdArgError N/A N/A N/A N/A N/A self commands call N/A bar bar baz N/A N/A N/A N/A N/A self commands add baz N/A N/A N/A context optional N/A None context N/A N/A N/A self assertRaises N/A exceptions MpdArgError N/A N/A N/A N/A N/A self commands call N/A baz bar baz N/A test_validator_gets_applied_to_required_arg N/A N/A self N/A N/A N/A sentinel N/A object func N/A N/A context required N/A N/A N/A required N/A N/A N/A N/A N/A N/A self commands add test required N/A N/A N/A v N/A sentinel func N/A N/A N/A self assertEqual sentinel N/A N/A N/A self commands call N/A test foo N/A test_validator_gets_applied_to_optional_arg N/A N/A self N/A N/A N/A sentinel N/A object func N/A N/A context optional N/A None N/A N/A optional N/A N/A N/A N/A N/A N/A self commands add foo optional N/A N/A N/A v N/A sentinel func N/A N/A N/A self assertEqual sentinel N/A N/A N/A self commands call N/A foo 123 N/A test_validator_skips_optional_default N/A N/A self N/A N/A N/A sentinel N/A object func N/A N/A context optional N/A sentinel N/A N/A optional N/A N/A N/A N/A N/A N/A self commands add foo optional N/A N/A N/A v N/A None func N/A N/A N/A self assertEqual sentinel N/A N/A N/A self commands call N/A foo N/A test_validator_applied_to_non_existent_arg_fails N/A N/A self N/A N/A N/A N/A N/A N/A N/A self commands add foo N/A N/A N/A context arg N/A arg N/A N/A N/A self assertRaises TypeError N/A func N/A N/A context wrong_arg N/A N/A N/A wrong_arg N/A N/A N/A N/A N/A N/A self commands add bar arg N/A N/A N/A v N/A v func N/A test_validator_called_context_fails N/A N/A self N/A N/A N/A N/A N/A N/A self assertRaises TypeError N/A func N/A N/A context N/A N/A N/A N/A N/A N/A N/A N/A N/A self commands add bar context N/A N/A N/A v N/A v func N/A test_validator_value_error_is_converted N/A N/A self N/A N/A validdate N/A N/A value N/A N/A N/A ValueError N/A func N/A N/A context arg N/A N/A N/A N/A N/A N/A N/A N/A N/A self commands add bar arg validdate func N/A N/A N/A self assertRaises N/A exceptions MpdArgError N/A N/A N/A N/A N/A self commands call N/A bar test N/A test_auth_required_gets_stored N/A N/A self N/A N/A func1 N/A N/A context N/A N/A N/A N/A func2 N/A N/A context N/A N/A N/A N/A N/A N/A N/A N/A N/A self commands add foo func1 N/A N/A N/A N/A N/A self commands add bar auth_required False func2 N/A N/A N/A self assertTrue N/A N/A N/A N/A self commands handlers N/A foo auth_required N/A N/A N/A self assertFalse N/A N/A N/A N/A self commands handlers N/A bar auth_required N/A test_list_command_gets_stored N/A N/A self N/A N/A func1 N/A N/A context N/A N/A N/A N/A func2 N/A N/A context N/A N/A N/A N/A N/A N/A N/A N/A N/A self commands add foo func1 N/A N/A N/A N/A N/A self commands add bar list_command False func2 N/A N/A N/A self assertTrue N/A N/A N/A N/A self commands handlers N/A foo list_command N/A N/A N/A self assertFalse N/A N/A N/A N/A self commands handlers N/A bar list_command N/A N/A