#NEWLINE# def testUpdateInvalidatesCache( self ) : #NEWLINE# #INDENT# uri = urllib . parse . urljoin ( base , '304/test_etag.txt' ) #NEWLINE# ( response , content ) = self . http . request ( uri , 'GET' ) #NEWLINE# ( response , content ) = self . http . request ( uri , 'GET' ) #NEWLINE# self . assertEqual ( response . fromcache , True ) #NEWLINE# ( response , content ) = self . http . request ( uri , 'DELETE' ) #NEWLINE# self . assertEqual ( response . status , 405 ) #NEWLINE# ( response , content ) = self . http . request ( uri , 'GET' ) #NEWLINE# self . assertEqual ( response . fromcache , False )