#NEWLINE# def test_get_gzip( self ) : #NEWLINE# #INDENT# url = storage . staticfiles_storage . url ( self . static_files . css_path ) #NEWLINE# response = self . server . get ( url ) #NEWLINE# self . assertEqual ( response . content , self . static_files . css_content ) #NEWLINE# self . assertEqual ( self . headers [ 'Content-Encoding' ] , 'gzip' ) #NEWLINE# self . assertEqual ( response . headers [ 'Vary' ] , 'Accept-Encoding' )