#NEWLINE# def it_can_save_itself_to_a_pptx_file( self , temp_pptx_path ) : #NEWLINE# #INDENT# '\n        Package.save produces a .pptx with plausible contents\n        ' #NEWLINE# pkg = Package . open ( ) #NEWLINE# pkg . save ( temp_pptx_path ) #NEWLINE# pkg = Package . open ( temp_pptx_path ) #NEWLINE# prs = pkg . presentation #NEWLINE# assert ( slide_layouts is not None ) #NEWLINE# slide_masters = prs . slide_masters #NEWLINE# assert ( slide_masters is not None ) #NEWLINE# assert ( len ( slide_masters ) == 1 ) #NEWLINE# slide_layouts = slide_masters [ 0 ] . slide_layouts #NEWLINE# assert ( slide_layouts is not None ) #NEWLINE# assert ( len ( slide_layouts ) == 11 )