#NEWLINE# def test_invalid_cors_get_request( self ) : #NEWLINE# #INDENT# response = self . app . get ( '/' , headers = { #NEWLINE# #INDENT# 'Origin' : 'http://invalid.example.com' , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( self . _response_string ( http_client . OK ) , response . status ) #NEWLINE# self . assertNotIn ( 'Access-Control-Allow-Origin' , response . headers )