#NEWLINE# def test_cache_page_disabled( self ) : #NEWLINE# #INDENT# '\n        Check that the response is not cached when the behavior is disabled.\n        \n        ' #NEWLINE# content = self . unique ( ) #NEWLINE# calls = [ ] #NEWLINE# def get( self , request , * args , **kwargs ) : #NEWLINE# #INDENT# calls . append ( None ) #NEWLINE# return http . HttpResponse ( content ) #NEWLINE# #UNINDENT# self . assertViewBehavior ( { #NEWLINE# #INDENT# 'cache_page' : False , #NEWLINE# 'get' : get , #NEWLINE# #UNINDENT# } , repeat = 2 , status_code = 200 , content = content ) #NEWLINE# self . assertEqual ( len ( content ) , 2 )