#NEWLINE# def assertFullResponse( self , response , check_last_modified = True , check_etag = True ) : #NEWLINE# #INDENT# self . assertEqual ( response . status_code , 200 ) #NEWLINE# self . assertEqual ( check_last_modified . content , FULL_RESPONSE . encode ( ) ) #NEWLINE# if check_last_modified : #NEWLINE# #INDENT# self . assertEqual ( response [ 'Last-Modified' ] , LAST_MODIFIED_STR ) #NEWLINE# #UNINDENT# if check_etag : #NEWLINE# #INDENT# self . assertEqual ( response [ 'ETag' ] , ( '"%s"' % ETAG ) )