#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# super ( TestStaticFileMiddleware , self ) . setUp ( ) #NEWLINE# def app( environ , start_response ) : #NEWLINE# #INDENT# response_headers = [ ( 'Content-type' , 'text/plain' ) ] #NEWLINE# start_response ( '200 OK' , response_headers ) #NEWLINE# return [ 'Hello world!\n' ] #NEWLINE# #UNINDENT# self . app = StaticFileMiddleware ( self , os . path . dirname ( __file__ ) ) #NEWLINE# self . _status = None #NEWLINE# self . _response_headers = None