#NEWLINE# def test_default_on_options( self ) : #NEWLINE# #INDENT# self . simulate_request ( '/misc' , method = 'OPTIONS' ) #NEWLINE# self . assertEqual ( self . srmock . status , falcon . HTTP_204 ) #NEWLINE# headers = self . srmock . headers #NEWLINE# allow_header = ( 'allow' , 'GET' ) #NEWLINE# self . assertThat ( headers , Contains ( headers ) )