#NEWLINE# def testOldTimeSheet( self ) : #NEWLINE# #INDENT# self . login_user ( self . user ) #NEWLINE# self . make_entries ( ) #NEWLINE# data = { #NEWLINE# #INDENT# 'month' : 1 , #NEWLINE# 'year' : 2011 , #NEWLINE# #UNINDENT# } #NEWLINE# response = self . client . get ( self . url , data ) #NEWLINE# self . assertEquals ( response . status_code , 200 ) #NEWLINE# self . assertEqual ( len ( response . context [ 'entries' ] ) , 9 ) #NEWLINE# self . assertEqual ( response . context [ 'summary' ] [ 'total' ] , Decimal ( 9 ) )