Module Expr Str ImportFrom alias alias alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str Assign NameStore AttributeLoad NameLoad attr Assert CompareEq Call NameLoad NameLoad Num For NameStore NameLoad body Assert Call NameLoad 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 CompareIs NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert CompareIs NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore NameLoad Assert CompareEq Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assert CompareIn NameLoad NameLoad Assert CompareIs NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call NameLoad NameLoad NameLoad Str keyword NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad Return TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad 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 NameParam defaults body Assign NameStore Call NameLoad NameLoad Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad BinOpMod Str NameLoad decorator_list 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 TupleStore NameStore NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr keyword ListLoad TupleLoad TupleLoad Num Num Num TupleLoad TupleLoad Num Num Num TupleLoad TupleLoad Num Num Num FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Str decorator_list AttributeLoad NameLoad attr decorator_list
N/A N/A 
Test suite for docx.package module
 __future__ absolute_import print_function unicode_literals N/A pytest docx.image.image Image docx.opc.packuri PackURI docx.package ImageParts Package docx.parts.image ImagePart unitutil.file docx_path unitutil.mock class_mock instance_mock method_mock DescribePackage N/A object N/A it_gathers_package_image_parts_after_unmarshalling N/A N/A self N/A N/A N/A package N/A N/A Package open N/A docx_path having-images N/A image_parts N/A package image_parts N/A N/A N/A len image_parts 3 N/A image_part image_parts N/A N/A N/A isinstance image_part ImagePart N/A N/A DescribeImageParts N/A object N/A it_can_get_a_matching_image_part N/A N/A self get_image_part_fixture N/A N/A N/A N/A image_parts image_descriptor image_part_ get_image_part_fixture N/A image_part N/A N/A image_parts get_or_add_image_part image_descriptor N/A N/A image_part image_part_ N/A it_can_add_a_new_image_part N/A N/A self add_image_part_fixture N/A N/A N/A N/A image_parts image_descriptor image_ image_part_ add_image_part_fixture N/A image_part N/A N/A image_parts get_or_add_image_part image_descriptor N/A N/A N/A N/A image_parts _add_image_part assert_called_once_with image_ N/A N/A image_part image_part_ N/A it_knows_the_next_available_image_partname N/A N/A self next_partname_fixture N/A N/A N/A N/A image_parts ext expected_partname next_partname_fixture N/A N/A N/A N/A image_parts _next_image_partname ext expected_partname N/A it_can_really_add_a_new_image_part N/A N/A self really_add_image_part_fixture N/A N/A N/A N/A image_parts image_ ImagePart_ partname_ image_part_ really_add_image_part_fixture N/A image_part N/A N/A image_parts _add_image_part image_ N/A N/A N/A N/A ImagePart_ from_image assert_called_once_with image_ partname_ N/A N/A image_part image_parts N/A N/A image_part image_part_ N/A _add_image_part_ N/A N/A self request new_image_part_ N/A N/A N/A N/A method_mock request ImageParts _add_image_part return_value new_image_part_ N/A N/A pytest fixture add_image_part_fixture N/A N/A self Image_ _add_image_part_ image_descriptor_ image_ new_image_part_ N/A N/A N/A image_parts N/A ImageParts N/A N/A image_parts image_descriptor_ image_ new_image_part_ N/A N/A pytest fixture get_image_part_fixture N/A N/A self Image_ image_part_ image_descriptor_ N/A N/A N/A image_parts N/A ImageParts N/A N/A N/A image_parts append image_part_ N/A N/A image_parts image_descriptor_ image_part_ N/A N/A pytest fixture Image_ N/A N/A self request image_ N/A N/A N/A Image_ N/A class_mock request docx.package.Image N/A N/A N/A Image_ from_file return_value image_ N/A Image_ N/A N/A pytest fixture image_ N/A N/A self request sha1 N/A N/A N/A image_ N/A instance_mock request Image N/A N/A image_ sha1 sha1 N/A image_ N/A N/A pytest fixture image_descriptor_ N/A N/A self request N/A N/A N/A N/A instance_mock request str N/A N/A pytest fixture ImagePart_ N/A N/A self request image_part_ N/A N/A N/A ImagePart_ N/A class_mock request docx.package.ImagePart N/A N/A N/A ImagePart_ from_image return_value image_part_ N/A ImagePart_ N/A N/A pytest fixture image_part_ N/A N/A self request sha1 N/A N/A N/A image_part_ N/A instance_mock request ImagePart N/A N/A image_part_ sha1 sha1 N/A image_part_ N/A N/A pytest fixture _image_part_with_partname_ N/A N/A self request n N/A N/A N/A partname N/A N/A self _image_partname n N/A N/A instance_mock request ImagePart partname partname N/A _image_partname N/A N/A self n N/A N/A N/A N/A PackURI N/A /word/media/image%d.png n N/A new_image_part_ N/A N/A self request N/A N/A N/A N/A instance_mock request ImagePart N/A N/A pytest fixture _next_image_partname_ N/A N/A self request N/A N/A N/A N/A method_mock request ImageParts _next_image_partname N/A N/A pytest fixture next_partname_fixture N/A N/A self request N/A N/A N/A N/A existing_partname_numbers expected_partname_number N/A request param N/A image_parts N/A ImageParts N/A n existing_partname_numbers N/A N/A image_part_ N/A N/A self _image_part_with_partname_ request n N/A N/A N/A image_parts append image_part_ N/A ext png N/A expected_image_partname N/A N/A self _image_partname expected_partname_number N/A N/A image_parts ext expected_image_partname N/A N/A N/A pytest fixture params N/A N/A N/A 2 3 1 N/A N/A 1 3 2 N/A N/A 1 2 3 partname_ N/A N/A self request N/A N/A N/A N/A instance_mock request PackURI N/A N/A pytest fixture really_add_image_part_fixture N/A N/A self _next_image_partname_ partname_ image_ ImagePart_ image_part_ N/A N/A N/A image_parts N/A ImageParts N/A N/A _next_image_partname_ return_value partname_ N/A N/A image_parts image_ ImagePart_ partname_ image_part_ N/A N/A pytest fixture sha1 N/A N/A self N/A N/A N/A F008AH N/A N/A pytest fixture N/A