#NEWLINE# def test_options_request( self ) : #NEWLINE# #INDENT# response = self . fetch ( '/options' , method = 'OPTIONS' ) #NEWLINE# self . assertEqual ( response . code , 200 ) #NEWLINE# self . assertEqual ( response . headers [ 'content-length' ] , '2' ) #NEWLINE# self . assertEqual ( response . headers [ 'access-control-allow-origin' ] , '*' ) #NEWLINE# self . assertEqual ( response . body , b'ok' )