#NEWLINE# def test_etag_fail_precedence( self ) : #NEWLINE# #INDENT# '\n        Check that the default HTTP method name protection takes precedence\n        upon ETag mismatch and that an ETag header is not set on the response.\n        \n        ' #NEWLINE# etag = self . unique ( ) #NEWLINE# def condition_etag( self , request , * args , **kwargs ) : #NEWLINE# #INDENT# return etag #NEWLINE# #UNINDENT# self . assertViewBehavior ( { #NEWLINE# #INDENT# 'condition_etag' : condition_etag , #NEWLINE# #UNINDENT# } , headers = { #NEWLINE# #INDENT# 'HTTP_IF_MATCH' : self . format_etag ( self . unique ( ) ) , #NEWLINE# #UNINDENT# } , status_code = 405 , headers_exclude = 'ETag' )