#NEWLINE# def testIfNoneMatch( self ) : #NEWLINE# #INDENT# self . client . defaults [ 'HTTP_IF_NONE_MATCH' ] = ( '"%s"' % ETAG ) #NEWLINE# response = self . client . get ( '/condition/' ) #NEWLINE# self . assertNotModified ( response ) #NEWLINE# self . client . defaults [ 'HTTP_IF_NONE_MATCH' ] = ( '"%s"' % EXPIRED_ETAG ) #NEWLINE# response = self . client . get ( '/condition/' ) #NEWLINE# self . assertFullResponse ( response ) #NEWLINE# self . client . defaults [ 'HTTP_IF_NONE_MATCH' ] = ( '"%s", "%s"' % ( ETAG , EXPIRED_ETAG ) ) #NEWLINE# response = self . client . get ( '/condition/' ) #NEWLINE# self . assertNotModified ( response )