Module Expr Str Import alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str If CompareNotEq Call NameLoad NameLoad Call NameLoad NameLoad body Assign NameStore Str Raise Call NameLoad NameLoad Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore NameLoad Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assert CompareEq NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Str Str Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Assert CompareEq AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Str Str Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Assert CompareEq AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Str Str Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Assert CompareEq AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad NameLoad NameLoad Num For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Assert CompareEq AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Str Str Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Assert CompareEq 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 NameLoad Assert CompareEq Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Str Str Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Assert CompareEq AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A 
Test suite for the docx.opc.packuri module
 N/A pytest docx.opc.packuri PackURI DescribePackURI N/A object N/A cases N/A N/A self expected_values N/A N/A N/A 
        Return list of tuples zipped from uri_str cases and
        *expected_values*. Raise if lengths don't match.
         N/A uri_str_cases N/A / /ppt/presentation.xml /ppt/slides/slide1.xml N/A N/A N/A len expected_values N/A len uri_str_cases N/A N/A msg len(expected_values) differs from len(uri_str_cases) N/A N/A AssertionError msg N/A pack_uris N/A N/A PackURI uri_str N/A uri_str uri_str_cases N/A N/A zip pack_uris expected_values N/A it_can_construct_from_relative_ref N/A N/A self N/A N/A N/A baseURI /ppt/slides N/A relative_ref ../slideLayouts/slideLayout1.xml N/A pack_uri N/A N/A PackURI from_rel_ref baseURI relative_ref N/A N/A pack_uri /ppt/slideLayouts/slideLayout1.xml N/A it_should_raise_on_construct_with_bad_pack_uri_str N/A N/A self N/A N/A N/A N/A N/A pytest raises ValueError N/A N/A N/A PackURI foobar N/A it_can_calculate_baseURI N/A N/A self N/A N/A N/A expected_values N/A / /ppt /ppt/slides N/A N/A pack_uri expected_baseURI N/A N/A self cases expected_values N/A N/A N/A N/A pack_uri baseURI expected_baseURI N/A it_can_calculate_extension N/A N/A self N/A N/A N/A expected_values N/A xml xml N/A N/A pack_uri expected_ext N/A N/A self cases expected_values N/A N/A N/A N/A pack_uri ext expected_ext N/A it_can_calculate_filename N/A N/A self N/A N/A N/A expected_values N/A presentation.xml slide1.xml N/A N/A pack_uri expected_filename N/A N/A self cases expected_values N/A N/A N/A N/A pack_uri filename expected_filename N/A it_knows_the_filename_index N/A N/A self N/A N/A N/A expected_values N/A None None 1 N/A N/A pack_uri expected_idx N/A N/A self cases expected_values N/A N/A N/A N/A pack_uri idx expected_idx N/A it_can_calculate_membername N/A N/A self N/A N/A N/A expected_values N/A ppt/presentation.xml ppt/slides/slide1.xml N/A N/A pack_uri expected_membername N/A N/A self cases expected_values N/A N/A N/A N/A pack_uri membername expected_membername N/A it_can_calculate_relative_ref_value N/A N/A self N/A N/A N/A cases N/A N/A / /ppt/presentation.xml ppt/presentation.xml N/A /ppt /ppt/slideMasters/slideMaster1.xml slideMasters/slideMaster1.xml N/A /ppt/slides /ppt/slideLayouts/slideLayout1.xml ../slideLayouts/slideLayout1.xml N/A N/A baseURI uri_str expected_relative_ref cases N/A N/A pack_uri N/A PackURI uri_str N/A N/A N/A N/A pack_uri relative_ref baseURI expected_relative_ref N/A it_can_calculate_rels_uri N/A N/A self N/A N/A N/A expected_values N/A /_rels/.rels /ppt/_rels/presentation.xml.rels /ppt/slides/_rels/slide1.xml.rels N/A N/A pack_uri expected_rels_uri N/A N/A self cases expected_values N/A N/A N/A N/A pack_uri rels_uri expected_rels_uri N/A N/A