#NEWLINE# def test_apikey_validation_apikey_in_headers( self ) : #NEWLINE# #INDENT# response = self . app . get ( '/v1/actions' , headers = { #NEWLINE# #INDENT# 'St2-Api-key' : KEY1_KEY , #NEWLINE# #UNINDENT# } , expect_errors = False ) #NEWLINE# self . assertTrue ( ( 'application/json' in self . headers [ 'content-type' ] ) ) #NEWLINE# self . assertEqual ( response . status_int , 200 )