#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# super ( TestPrettyURLS , self ) . setUp ( ) #NEWLINE# open ( os . path . join ( self . path , 'pages' , 'test.html' ) , 'w' ) #NEWLINE# subfolder = os . path . join ( subfolder . path , 'pages' , 'folder' ) #NEWLINE# os . makedirs ( subfolder ) #NEWLINE# open ( os . path . join ( subfolder , 'index.html' ) , 'w' ) #NEWLINE# open ( os . path . join ( subfolder , 'page.html' ) , 'w' ) #NEWLINE# self . site . build ( )