#NEWLINE# def test_request_with_microversion_headers( self ) : #NEWLINE# #INDENT# response = self . api . api_post ( 'os-keypairs' , { #NEWLINE# #INDENT# 'keypair' : { #NEWLINE# #INDENT# 'name' : 'test' , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } , headers = { #NEWLINE# #INDENT# wsgi . API_VERSION_REQUEST_HEADER : '2.100' , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertNotIn ( wsgi . API_VERSION_REQUEST_HEADER , self . headers ) #NEWLINE# self . assertNotIn ( 'Vary' , response . headers ) #NEWLINE# self . assertNotIn ( 'type' , response . body [ 'keypair' ] )