#NEWLINE# def test_noSideEffects( self ) : #NEWLINE# #INDENT# '\n        The working directory is the same before and after a call to\n        L{BookBuilder.buildPDF}.  Also the contents of the directory containing\n        the input book are the same before and after the call.\n        ' #NEWLINE# startDir = os . getcwd ( ) #NEWLINE# bookTeX = self . _setupTeXFiles ( ) #NEWLINE# startTeXSiblings = bookTeX . parent ( ) . children ( ) #NEWLINE# startHowtoChildren = self . howtoDir . children ( ) #NEWLINE# builder = BookBuilder ( ) #NEWLINE# builder . buildPDF ( startHowtoChildren , self . howtoDir , FilePath ( self . mktemp ( ) ) ) #NEWLINE# self . assertEqual ( startDir , os . getcwd ( ) ) #NEWLINE# self . assertEqual ( startTeXSiblings , bookTeX . parent ( ) . children ( ) ) #NEWLINE# self . assertEqual ( startHowtoChildren , self . howtoDir . children ( ) )