Module Expr Str ImportFrom alias alias alias Import alias ImportFrom alias identifier alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias ImportFrom alias alias alias ImportFrom alias alias alias alias alias alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad NameLoad Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad NameLoad Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad NameLoad Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad NameLoad Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assert Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore TupleLoad Str Str Str Assign NameStore Call NameLoad keyword Str keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad NameLoad ListLoad NameLoad Assign NameStore Num For NameStore Call AttributeLoad NameLoad attr body AugAssignAdd NameStore Num Assert CompareEq NameLoad TupleLoad NameLoad NameLoad NameLoad Assert CompareEq NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str Assign NameStore ListLoad Call NameLoad keyword Str keyword Str keyword ListLoad Str Str Call NameLoad keyword Str keyword Str keyword ListLoad Str Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str Assert CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore TupleLoad TupleLoad Str Str Str Str TupleLoad Str Str Str Str Assign NameStore ListComp TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Assign NameStore Call NameLoad GeneratorExp TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Assign NameStore Call NameLoad keyword Str Assign NameStore Call NameLoad keyword Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameStore TupleLoad Call NameLoad keyword Str Call NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore ListLoad Call NameLoad Str Str Str Str Call NameLoad Str Str Str Str Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore TupleLoad Str Str Str Assign TupleStore NameStore NameStore NameStore TupleLoad Str Str Str Assign NameStore ListLoad Call NameLoad keyword Str keyword NameLoad Call NameLoad keyword Str keyword NameLoad keyword NameLoad Call NameLoad keyword Str keyword NameLoad keyword NameLoad Call NameLoad keyword Str keyword NameLoad keyword NameLoad Call NameLoad keyword Str keyword NameLoad keyword NameLoad Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore SubscriptLoad NameLoad Slice Num Num Assign NameStore SubscriptLoad NameLoad Slice Num Num Assign NameStore ListLoad Assign NameStore Call NameLoad keyword Str Assign AttributeStore NameLoad attr ListLoad NameLoad NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad NameLoad NameLoad NameLoad Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore ListLoad TupleLoad NameLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad Assert CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad keyword Str Assign NameStore Call NameLoad keyword Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assert CompareEq NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore NameLoad Assert CompareEq SubscriptLoad NameLoad Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore NameLoad Assert CompareEq SubscriptLoad NameLoad Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr SubscriptLoad NameLoad Index Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str Str With Call AttributeLoad NameLoad attr NameLoad body Expr SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad TupleLoad Str Str AttributeLoad NameLoad attr TupleLoad Str Str AttributeLoad NameLoad attr TupleLoad Str Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Assign NameStore Dict For NameStore NameLoad body If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr Assign NameStore SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index NameLoad NameLoad orelse If CompareEq SubscriptLoad NameLoad Index Num Str body Assign TupleStore NameStore NameStore SubscriptLoad NameLoad Slice Num Assign SubscriptStore NameLoad Index NameLoad NameLoad Return TupleLoad NameLoad NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return TupleLoad NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr keyword ListLoad TupleLoad Str Str Str TupleLoad Str Str Str TupleLoad Str Str Str FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return TupleLoad NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr keyword ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call NameLoad attr For NameStore NameLoad body If CompareEq SubscriptLoad NameLoad Index Num Str body Assign TupleStore NameStore NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq SubscriptLoad NameLoad Index Num Str body Assign TupleStore NameStore NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Str AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str NameLoad Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore TupleLoad NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Str Str NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assert CompareIs AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad TupleLoad Str Str Str TupleLoad Str Str Str TupleLoad Str Str Str For TupleStore NameStore NameStore NameStore NameLoad body Assign NameStore Call NameLoad keyword Str keyword NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Str AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore NameStore TupleLoad Call NameLoad keyword Str Call NameLoad keyword Str Call NameLoad keyword Str Call NameLoad keyword Str Assign NameStore Call NameLoad keyword Str keyword ListLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore ListLoad Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad TryExcept body For NameStore NameLoad body Pass handlers ExceptHandler type NameLoad body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad Str decorator_list AttributeLoad NameLoad attr decorator_list
N/A N/A 
Test suite for opc.pkgreader module
 __future__ absolute_import print_function unicode_literals N/A pytest pptx.opc.constants CONTENT_TYPE CT RELATIONSHIP_TARGET_MODE RTM pptx.opc.oxml CT_Relationship pptx.opc.packuri PackURI pptx.opc.phys_pkg _ZipPkgReader pptx.opc.pkgreader _ContentTypeMap PackageReader _SerializedPart _SerializedRelationship _SerializedRelationshipCollection unitdata.types a_Default a_Types an_Override unitutil.mock call class_mock function_mock initializer_mock method_mock Mock patch DescribePackageReader N/A object N/A from_xml N/A N/A self request N/A N/A N/A N/A method_mock request _ContentTypeMap from_xml N/A N/A pytest fixture init N/A N/A self request N/A N/A N/A N/A initializer_mock request PackageReader N/A N/A pytest fixture _load_serialized_parts N/A N/A self request N/A N/A N/A N/A method_mock request PackageReader _load_serialized_parts N/A N/A pytest fixture PhysPkgReader_ N/A N/A self request N/A N/A N/A _patch N/A patch pptx.opc.pkgreader.PhysPkgReader spec_set _ZipPkgReader N/A N/A N/A request addfinalizer N/A _patch stop N/A N/A N/A _patch start N/A N/A pytest fixture _SerializedPart_ N/A N/A self request N/A N/A N/A N/A class_mock request pptx.opc.pkgreader._SerializedPart N/A N/A pytest fixture _SerializedRelationshipCollection_ N/A N/A self request N/A N/A N/A N/A class_mock request pptx.opc.pkgreader._SerializedRelationshipCollection N/A N/A pytest fixture _srels_for N/A N/A self request N/A N/A N/A N/A method_mock request PackageReader _srels_for N/A N/A pytest fixture _walk_phys_parts N/A N/A self request N/A N/A N/A N/A method_mock request PackageReader _walk_phys_parts N/A N/A pytest fixture it_can_construct_from_pkg_file N/A N/A self init PhysPkgReader_ from_xml _srels_for _load_serialized_parts N/A N/A N/A phys_reader N/A PhysPkgReader_ return_value N/A content_types N/A from_xml return_value N/A pkg_srels N/A _srels_for return_value N/A sparts N/A _load_serialized_parts return_value N/A pkg_file N/A Mock name pkg_file N/A pkg_reader N/A N/A PackageReader from_file pkg_file N/A N/A N/A PhysPkgReader_ assert_called_once_with pkg_file N/A N/A N/A from_xml assert_called_once_with N/A phys_reader content_types_xml N/A N/A N/A _srels_for assert_called_once_with phys_reader / N/A N/A N/A _load_serialized_parts assert_called_once_with phys_reader pkg_srels content_types N/A N/A N/A N/A phys_reader close assert_called_once_with N/A N/A N/A init assert_called_once_with content_types pkg_srels sparts N/A N/A isinstance pkg_reader PackageReader N/A it_can_iterate_over_the_serialized_parts N/A N/A self N/A N/A N/A N/A partname content_type blob N/A part/name.xml app/vnd.type <Part_1/> N/A spart N/A Mock name spart partname partname content_type content_type blob blob N/A pkg_reader N/A PackageReader None None N/A spart N/A iter_count 0 N/A retval N/A N/A pkg_reader iter_sparts N/A N/A iter_count 1 N/A N/A retval N/A partname content_type blob N/A N/A iter_count 1 N/A it_can_iterate_over_all_the_srels N/A N/A self N/A N/A N/A pkg_srels N/A srel1 srel2 N/A sparts N/A N/A Mock name spart1 partname pn1 srels N/A srel3 srel4 N/A Mock name spart2 partname pn2 srels N/A srel5 srel6 N/A pkg_reader N/A PackageReader None pkg_srels sparts N/A generated_tuples N/A t N/A t N/A N/A pkg_reader iter_srels N/A expected_tuples N/A N/A / srel1 N/A / srel2 N/A pn1 srel3 N/A pn1 srel4 N/A pn2 srel5 N/A pn2 srel6 N/A N/A generated_tuples expected_tuples N/A it_can_load_serialized_parts N/A N/A self _SerializedPart_ _walk_phys_parts N/A N/A N/A test_data N/A N/A /part/name1.xml app/vnd.type_1 <Part_1/> srels_1 N/A /part/name2.xml app/vnd.type_2 <Part_2/> srels_2 N/A iter_vals N/A N/A N/A t N/A 0 N/A t N/A 2 N/A t N/A 3 N/A t test_data N/A content_types N/A dict N/A N/A N/A t N/A 0 N/A t N/A 1 N/A t test_data N/A phys_reader N/A Mock name phys_reader N/A pkg_srels N/A Mock name pkg_srels N/A N/A _walk_phys_parts return_value iter_vals N/A N/A _SerializedPart_ side_effect expected_sparts N/A N/A Mock name spart_1 N/A Mock name spart_2 N/A retval N/A N/A PackageReader _load_serialized_parts phys_reader pkg_srels content_types N/A expected_calls N/A N/A call /part/name1.xml app/vnd.type_1 <Part_1/> srels_1 N/A call /part/name2.xml app/vnd.type_2 <Part_2/> srels_2 N/A N/A N/A _SerializedPart_ call_args_list expected_calls N/A N/A retval expected_sparts N/A it_can_walk_phys_pkg_parts N/A N/A self _srels_for N/A N/A N/A N/A partname_1 partname_2 partname_3 N/A /part/name1.xml /part/name2.xml /part/name3.xml N/A N/A part_1_blob part_2_blob part_3_blob N/A <Part_1/> <Part_2/> <Part_3/> N/A srels N/A N/A Mock name rId1 is_external True N/A Mock name rId2 is_external False target_partname partname_1 N/A Mock name rId3 is_external False target_partname partname_2 N/A Mock name rId4 is_external False target_partname partname_1 N/A Mock name rId5 is_external False target_partname partname_3 N/A pkg_srels N/A srels N/A 2 N/A part_1_srels N/A srels N/A 2 3 N/A part_2_srels N/A srels N/A 3 5 N/A part_3_srels N/A N/A phys_reader N/A Mock name phys_reader N/A N/A _srels_for side_effect N/A part_1_srels part_2_srels part_3_srels N/A N/A N/A phys_reader blob_for side_effect N/A part_1_blob part_2_blob part_3_blob N/A generated_tuples N/A t N/A t N/A N/A PackageReader _walk_phys_parts phys_reader pkg_srels N/A expected_tuples N/A N/A partname_1 part_1_blob part_1_srels N/A partname_2 part_2_blob part_2_srels N/A partname_3 part_3_blob part_3_srels N/A N/A generated_tuples expected_tuples N/A it_can_retrieve_srels_for_a_source_uri N/A N/A self _SerializedRelationshipCollection_ N/A N/A N/A phys_reader N/A Mock name phys_reader N/A source_uri N/A Mock name source_uri N/A rels_xml N/A N/A phys_reader rels_xml_for return_value N/A load_from_xml N/A _SerializedRelationshipCollection_ load_from_xml N/A srels N/A load_from_xml return_value N/A retval N/A N/A PackageReader _srels_for phys_reader source_uri N/A N/A N/A N/A phys_reader rels_xml_for assert_called_once_with source_uri N/A N/A N/A load_from_xml assert_called_once_with N/A source_uri baseURI rels_xml N/A N/A retval srels N/A N/A Describe_ContentTypeMap N/A object N/A it_can_construct_from_ct_item_xml N/A N/A self from_xml_fixture N/A N/A N/A N/A content_types_xml expected_defaults expected_overrides from_xml_fixture N/A ct_map N/A N/A _ContentTypeMap from_xml content_types_xml N/A N/A N/A ct_map _defaults expected_defaults N/A N/A N/A ct_map _overrides expected_overrides N/A it_matches_an_override_on_case_insensitive_partname N/A N/A self match_override_fixture N/A N/A N/A N/A ct_map partname content_type match_override_fixture N/A N/A N/A ct_map N/A partname content_type N/A it_falls_back_to_case_insensitive_extension_default_match N/A N/A self match_default_fixture N/A N/A N/A N/A ct_map partname content_type match_default_fixture N/A N/A N/A ct_map N/A partname content_type N/A it_should_raise_on_partname_not_found N/A N/A self N/A N/A N/A ct_map N/A _ContentTypeMap N/A N/A N/A pytest raises KeyError N/A N/A N/A ct_map N/A N/A PackURI /!blat/rhumba.1x& N/A it_should_raise_on_key_not_instance_of_PackURI N/A N/A self N/A N/A N/A ct_map N/A _ContentTypeMap N/A N/A N/A ct_map _add_override N/A PackURI /part/name1.xml app/vnd.type1 N/A N/A N/A pytest raises KeyError N/A N/A N/A ct_map N/A /part/name1.xml N/A from_xml_fixture N/A N/A self N/A N/A N/A entries N/A N/A Default xml N/A CT XML N/A Default PNG N/A CT PNG N/A Override /ppt/presentation.xml N/A CT PML_PRESENTATION_MAIN N/A content_types_xml N/A N/A self _xml_from entries N/A expected_defaults N/A N/A expected_overrides N/A N/A entry entries N/A N/A N/A N/A entry N/A 0 Default N/A N/A ext N/A N/A N/A entry N/A 1 lower N/A content_type N/A entry N/A 2 N/A N/A expected_defaults N/A ext content_type N/A N/A N/A N/A entry N/A 0 Override N/A N/A N/A partname content_type N/A entry N/A 1 N/A N/A expected_overrides N/A partname content_type N/A N/A content_types_xml expected_defaults expected_overrides N/A N/A pytest fixture match_default_fixture N/A N/A self request N/A N/A N/A N/A partname_str ext content_type N/A request param N/A partname N/A PackURI partname_str N/A ct_map N/A _ContentTypeMap N/A N/A N/A ct_map _add_override N/A PackURI /bar/foo.xyz application/xyz N/A N/A N/A ct_map _add_default ext content_type N/A N/A ct_map partname content_type N/A N/A N/A pytest fixture params N/A N/A /foo/bar.xml xml application/xml N/A /foo/bar.PNG png image/png N/A /foo/bar.jpg JPG image/jpeg match_override_fixture N/A N/A self request N/A N/A N/A N/A partname_str should_match_partname_str N/A request param N/A partname N/A PackURI partname_str N/A should_match_partname N/A PackURI should_match_partname_str N/A content_type appl/vnd-foobar N/A ct_map N/A _ContentTypeMap N/A N/A N/A ct_map _add_override partname content_type N/A N/A ct_map should_match_partname content_type N/A N/A N/A pytest fixture params N/A N/A /foo/bar.xml /foo/bar.xml N/A /foo/bar.xml /FOO/Bar.XML N/A /FoO/bAr.XmL /foo/bar.xml _xml_from N/A N/A self entries N/A N/A N/A 
        Return XML for a [Content_Types].xml based on items in *entries*.
         N/A types_bldr N/A N/A N/A a_Types with_nsdecls N/A entry entries N/A N/A N/A N/A entry N/A 0 Default N/A N/A N/A ext content_type N/A entry N/A 1 N/A default_bldr N/A a_Default N/A N/A N/A default_bldr with_Extension ext N/A N/A N/A default_bldr with_ContentType content_type N/A N/A N/A types_bldr with_child default_bldr N/A N/A N/A N/A entry N/A 0 Override N/A N/A N/A partname content_type N/A entry N/A 1 N/A override_bldr N/A an_Override N/A N/A N/A override_bldr with_PartName partname N/A N/A N/A override_bldr with_ContentType content_type N/A N/A N/A types_bldr with_child override_bldr N/A N/A N/A types_bldr xml N/A N/A Describe_SerializedPart N/A object N/A it_remembers_construction_values N/A N/A self N/A N/A N/A partname /part/name.xml N/A content_type app/vnd.type N/A blob <Part/> N/A srels srels proxy N/A spart N/A _SerializedPart partname content_type blob srels N/A N/A N/A spart partname partname N/A N/A N/A spart content_type content_type N/A N/A N/A spart blob blob N/A N/A N/A spart srels srels N/A N/A Describe_SerializedRelationship N/A object N/A it_remembers_construction_values N/A N/A self N/A N/A N/A rel_elm N/A N/A CT_Relationship new rId9 ReLtYpE docProps/core.xml N/A RTM INTERNAL N/A srel N/A _SerializedRelationship / rel_elm N/A N/A N/A srel rId rId9 N/A N/A N/A srel reltype ReLtYpE N/A N/A N/A srel target_ref docProps/core.xml N/A N/A N/A srel target_mode N/A RTM INTERNAL N/A it_knows_when_it_is_external N/A N/A self N/A N/A N/A cases N/A N/A RTM INTERNAL N/A RTM EXTERNAL N/A expected_values N/A False True N/A N/A target_mode expected_value N/A zip cases expected_values N/A N/A rel_elm N/A N/A CT_Relationship new rId9 ReLtYpE docProps/core.xml target_mode N/A srel N/A _SerializedRelationship None rel_elm N/A N/A N/A srel is_external expected_value N/A it_can_calculate_its_target_partname N/A N/A self N/A N/A N/A cases N/A N/A / docProps/core.xml /docProps/core.xml N/A /ppt viewProps.xml /ppt/viewProps.xml N/A /ppt/slides ../slideLayouts/slideLayout1.xml /ppt/slideLayouts/slideLayout1.xml N/A N/A baseURI target_ref expected_partname cases N/A N/A rel_elm N/A Mock name rel_elm rId None reltype None target_ref target_ref target_mode N/A RTM INTERNAL N/A srel N/A _SerializedRelationship baseURI rel_elm N/A N/A N/A srel target_partname expected_partname N/A it_raises_on_target_partname_when_external N/A N/A self N/A N/A N/A rel_elm N/A N/A CT_Relationship new rId9 ReLtYpE docProps/core.xml N/A RTM EXTERNAL N/A srel N/A _SerializedRelationship / rel_elm N/A N/A N/A pytest raises ValueError N/A N/A N/A srel target_partname N/A N/A Describe_SerializedRelationshipCollection N/A object N/A it_can_load_from_xml N/A N/A self parse_xml _SerializedRelationship_ N/A N/A N/A N/A baseURI rels_item_xml rel_elm_1 rel_elm_2 N/A N/A Mock name baseURI N/A Mock name rels_item_xml N/A Mock name rel_elm_1 N/A Mock name rel_elm_2 N/A rels_elm N/A Mock name rels_elm relationship_lst N/A rel_elm_1 rel_elm_2 N/A N/A parse_xml return_value rels_elm N/A srels N/A N/A _SerializedRelationshipCollection load_from_xml baseURI rels_item_xml N/A expected_calls N/A N/A call baseURI rel_elm_1 N/A call baseURI rel_elm_2 N/A N/A N/A parse_xml assert_called_once_with rels_item_xml N/A N/A N/A _SerializedRelationship_ call_args_list expected_calls N/A N/A isinstance srels _SerializedRelationshipCollection N/A it_should_be_iterable N/A N/A self N/A N/A N/A srels N/A _SerializedRelationshipCollection N/A N/A N/A x srels N/A N/A N/A N/A N/A TypeError N/A N/A msg _SerializedRelationshipCollection object is not iterable N/A N/A N/A pytest fail msg N/A parse_xml N/A N/A self request N/A N/A N/A N/A function_mock request pptx.opc.pkgreader.parse_xml N/A N/A pytest fixture _SerializedRelationship_ N/A N/A self request N/A N/A N/A N/A class_mock request pptx.opc.pkgreader._SerializedRelationship N/A N/A pytest fixture N/A