#NEWLINE# def test_on_options( self ) : #NEWLINE# #INDENT# self . simulate_request ( '/things/84/stuff/65' , method = 'OPTIONS' ) #NEWLINE# self . assertEqual ( self . srmock . status , falcon . HTTP_204 ) #NEWLINE# headers = self . srmock . headers #NEWLINE# allow_header = ( 'allow' , 'GET, HEAD, PUT' ) #NEWLINE# self . assertThat ( headers , Contains ( allow_header ) )