Module ImportFrom alias alias Import alias Import alias Import alias Import alias ImportFrom alias alias alias ImportFrom alias alias ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam defaults body Return Str decorator_list decorator_list Assign NameStore Call NameLoad NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assert CompareIs AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assert CompareIs AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assert CompareIs AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assert Call NameLoad SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assert CompareIs Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Dict Str Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Dict Str Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Dict Str Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Expr Yield NameLoad Expr Call AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Assert CompareEq Call AttributeLoad NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Assert CompareEq Call AttributeLoad NameLoad attr ListLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body ClassDef bases NameLoad body Pass decorator_list Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr ListLoad NameLoad Assert CompareEq Call AttributeLoad NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore NameLoad attr ListLoad NameLoad Assert CompareEq Call AttributeLoad NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr ListLoad NameLoad Assert CompareEq Call AttributeLoad NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr ListLoad NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body Assign AttributeStore NameLoad attr NameLoad Assert CompareEq Call AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr ListLoad NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body Assign AttributeStore NameLoad attr NameLoad Assert CompareEq Call AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr ListLoad NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body Assign AttributeStore NameLoad attr NameLoad Assert CompareEq Call AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Str Assert UnaryOpNot Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad With Call AttributeLoad NameLoad attr NameLoad body Assert UnaryOpNot Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assert UnaryOpNot Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body Assign AttributeStore NameLoad attr NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Delete SubscriptDel AttributeLoad NameLoad attr Index Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr Assert UnaryOpNot Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num Assert UnaryOpNot Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num Assert UnaryOpNot Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assert UnaryOpNot Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign NameStore Dict Str Dict Str NameLoad Assign NameStore AttributeLoad NameLoad attr With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Assert CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign NameStore Dict Str Dict Str NameLoad Assign NameStore AttributeLoad NameLoad attr With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Assert CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign NameStore Dict Str Dict Str NameLoad Assign NameStore AttributeLoad NameLoad attr With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Assert CompareEq NameLoad NameLoad decorator_list decorator_list
N/A __future__ absolute_import unicode_literals N/A os N/A mock N/A pkg_resources N/A pytest mopidy config exceptions ext tests IsA any_unicode DummyExtension N/A N/A ext Extension N/A N/A dist_name Mopidy-Foobar N/A ext_name foobar N/A version 1.2.3 get_default_config N/A N/A self N/A N/A N/A [foobar]
enabled = true N/A N/A N/A any_testextension N/A IsA DummyExtension TestExtension N/A object N/A extension N/A N/A self N/A N/A N/A N/A N/A ext Extension N/A N/A pytest fixture test_dist_name_is_none N/A N/A self extension N/A N/A N/A N/A N/A extension dist_name None N/A test_ext_name_is_none N/A N/A self extension N/A N/A N/A N/A N/A extension ext_name None N/A test_version_is_none N/A N/A self extension N/A N/A N/A N/A N/A extension version None N/A test_get_default_config_raises_not_implemented N/A N/A self extension N/A N/A N/A N/A N/A pytest raises NotImplementedError N/A N/A N/A N/A extension get_default_config N/A test_get_config_schema_returns_extension_schema N/A N/A self extension N/A N/A N/A schema N/A N/A extension get_config_schema N/A N/A isinstance N/A schema N/A enabled N/A config Boolean N/A test_validate_environment_does_nothing_by_default N/A N/A self extension N/A N/A N/A N/A N/A N/A extension validate_environment None N/A test_setup_raises_not_implemented N/A N/A self extension N/A N/A N/A N/A N/A pytest raises NotImplementedError N/A N/A N/A N/A extension setup None N/A test_get_cache_dir_raises_assertion_error N/A N/A self extension N/A N/A N/A config N/A core N/A cache_dir /tmp N/A N/A N/A pytest raises AssertionError N/A N/A N/A N/A N/A ext Extension get_cache_dir config N/A test_get_config_dir_raises_assertion_error N/A N/A self extension N/A N/A N/A config N/A core N/A config_dir /tmp N/A N/A N/A pytest raises AssertionError N/A N/A N/A N/A N/A ext Extension get_config_dir config N/A test_get_data_dir_raises_assertion_error N/A N/A self extension N/A N/A N/A config N/A core N/A data_dir /tmp N/A N/A N/A pytest raises AssertionError N/A N/A N/A N/A N/A ext Extension get_data_dir config N/A N/A TestLoadExtensions N/A object N/A iter_entry_points_mock N/A N/A self request N/A N/A N/A patcher N/A N/A mock patch pkg_resources.iter_entry_points N/A iter_entry_points N/A N/A patcher start N/A N/A iter_entry_points return_value N/A N/A N/A iter_entry_points N/A N/A N/A patcher stop N/A N/A pytest yield_fixture test_no_extensions N/A N/A self iter_entry_points_mock N/A N/A N/A N/A iter_entry_points_mock return_value N/A N/A N/A N/A N/A ext load_extensions N/A N/A test_load_extensions N/A N/A self iter_entry_points_mock N/A N/A N/A mock_entry_point N/A N/A mock Mock N/A N/A N/A mock_entry_point load return_value DummyExtension N/A N/A iter_entry_points_mock return_value N/A mock_entry_point N/A expected N/A N/A ext ExtensionData any_testextension mock_entry_point N/A IsA N/A config ConfigSchema any_unicode None N/A N/A N/A N/A ext load_extensions N/A expected N/A test_gets_wrong_class N/A N/A self iter_entry_points_mock N/A N/A WrongClass N/A object N/A N/A N/A N/A mock_entry_point N/A N/A mock Mock N/A N/A N/A mock_entry_point load return_value WrongClass N/A N/A iter_entry_points_mock return_value N/A mock_entry_point N/A N/A N/A N/A ext load_extensions N/A N/A test_gets_instance N/A N/A self iter_entry_points_mock N/A N/A N/A mock_entry_point N/A N/A mock Mock N/A N/A N/A mock_entry_point load return_value N/A DummyExtension N/A N/A iter_entry_points_mock return_value N/A mock_entry_point N/A N/A N/A N/A ext load_extensions N/A N/A test_creating_instance_fails N/A N/A self iter_entry_points_mock N/A N/A N/A mock_extension N/A N/A mock Mock spec N/A ext Extension N/A N/A mock_extension side_effect Exception N/A mock_entry_point N/A N/A mock Mock N/A N/A N/A mock_entry_point load return_value mock_extension N/A N/A iter_entry_points_mock return_value N/A mock_entry_point N/A N/A N/A N/A ext load_extensions N/A N/A test_get_config_schema_fails N/A N/A self iter_entry_points_mock N/A N/A N/A mock_entry_point N/A N/A mock Mock N/A N/A N/A mock_entry_point load return_value DummyExtension N/A N/A iter_entry_points_mock return_value N/A mock_entry_point N/A N/A N/A N/A mock patch object DummyExtension get_config_schema get N/A N/A N/A get side_effect Exception N/A N/A N/A N/A ext load_extensions N/A N/A N/A N/A get assert_called_once_with N/A test_get_default_config_fails N/A N/A self iter_entry_points_mock N/A N/A N/A mock_entry_point N/A N/A mock Mock N/A N/A N/A mock_entry_point load return_value DummyExtension N/A N/A iter_entry_points_mock return_value N/A mock_entry_point N/A N/A N/A N/A mock patch object DummyExtension get_default_config get N/A N/A N/A get side_effect Exception N/A N/A N/A N/A ext load_extensions N/A N/A N/A N/A get assert_called_once_with N/A test_get_command_fails N/A N/A self iter_entry_points_mock N/A N/A N/A mock_entry_point N/A N/A mock Mock N/A N/A N/A mock_entry_point load return_value DummyExtension N/A N/A iter_entry_points_mock return_value N/A mock_entry_point N/A N/A N/A N/A mock patch object DummyExtension get_command get N/A N/A N/A get side_effect Exception N/A N/A N/A N/A ext load_extensions N/A N/A N/A N/A get assert_called_once_with N/A N/A TestValidateExtensionData N/A object N/A ext_data N/A N/A self N/A N/A N/A extension N/A DummyExtension N/A entry_point N/A N/A mock Mock N/A N/A entry_point name N/A extension ext_name N/A schema N/A N/A extension get_config_schema N/A defaults N/A N/A extension get_default_config N/A command N/A N/A extension get_command N/A N/A N/A ext ExtensionData extension entry_point schema defaults command N/A N/A pytest fixture test_name_mismatch N/A N/A self ext_data N/A N/A N/A N/A N/A ext_data entry_point name barfoo N/A N/A N/A N/A ext validate_extension_data ext_data N/A test_distribution_not_found N/A N/A self ext_data N/A N/A N/A error N/A pkg_resources DistributionNotFound N/A N/A N/A N/A ext_data entry_point require side_effect error N/A N/A N/A N/A ext validate_extension_data ext_data N/A test_version_conflict N/A N/A self ext_data N/A N/A N/A error N/A pkg_resources VersionConflict N/A N/A N/A N/A ext_data entry_point require side_effect error N/A N/A N/A N/A ext validate_extension_data ext_data N/A test_entry_point_require_exception N/A N/A self ext_data N/A N/A N/A N/A N/A N/A ext_data entry_point require side_effect Exception N/A N/A N/A pytest raises Exception N/A N/A N/A N/A N/A ext validate_extension_data ext_data N/A test_extenions_validate_environment_error N/A N/A self ext_data N/A N/A N/A extension N/A ext_data extension N/A N/A N/A N/A mock patch object extension validate_environment validate N/A N/A N/A validate side_effect N/A N/A exceptions ExtensionError error N/A N/A N/A N/A ext validate_extension_data ext_data N/A N/A N/A validate assert_called_once_with N/A test_extenions_validate_environment_exception N/A N/A self ext_data N/A N/A N/A extension N/A ext_data extension N/A N/A N/A N/A mock patch object extension validate_environment validate N/A N/A N/A validate side_effect Exception N/A N/A N/A N/A ext validate_extension_data ext_data N/A N/A N/A validate assert_called_once_with N/A test_missing_schema N/A N/A self ext_data N/A N/A N/A ext_data N/A N/A ext_data _replace config_schema None N/A N/A N/A N/A ext validate_extension_data ext_data N/A test_schema_that_is_missing_enabled N/A N/A self ext_data N/A N/A N/A N/A N/A ext_data config_schema N/A enabled N/A N/A N/A ext_data config_schema N/A baz N/A N/A config String N/A N/A N/A N/A ext validate_extension_data ext_data N/A test_schema_with_wrong_types N/A N/A self ext_data N/A N/A N/A N/A N/A ext_data config_schema N/A enabled 123 N/A N/A N/A N/A ext validate_extension_data ext_data N/A test_schema_with_invalid_type N/A N/A self ext_data N/A N/A N/A N/A N/A ext_data config_schema N/A baz 123 N/A N/A N/A N/A ext validate_extension_data ext_data N/A test_no_default_config N/A N/A self ext_data N/A N/A N/A ext_data N/A N/A ext_data _replace config_defaults None N/A N/A N/A N/A ext validate_extension_data ext_data N/A test_get_cache_dir N/A N/A self ext_data N/A N/A N/A core_cache_dir /tmp N/A config N/A core N/A cache_dir core_cache_dir N/A extension N/A ext_data extension N/A N/A N/A N/A mock patch object N/A ext path get_or_create_dir N/A N/A cache_dir N/A N/A extension get_cache_dir config N/A expected N/A N/A N/A os path join core_cache_dir N/A extension ext_name N/A N/A cache_dir expected N/A test_get_config_dir N/A N/A self ext_data N/A N/A N/A core_config_dir /tmp N/A config N/A core N/A config_dir core_config_dir N/A extension N/A ext_data extension N/A N/A N/A N/A mock patch object N/A ext path get_or_create_dir N/A N/A config_dir N/A N/A extension get_config_dir config N/A expected N/A N/A N/A os path join core_config_dir N/A extension ext_name N/A N/A config_dir expected N/A test_get_data_dir N/A N/A self ext_data N/A N/A N/A core_data_dir /tmp N/A config N/A core N/A data_dir core_data_dir N/A extension N/A ext_data extension N/A N/A N/A N/A mock patch object N/A ext path get_or_create_dir N/A N/A data_dir N/A N/A extension get_data_dir config N/A expected N/A N/A N/A os path join core_data_dir N/A extension ext_name N/A N/A data_dir expected N/A N/A