#NEWLINE# def test_week_start_Monday( self ) : #NEWLINE# #INDENT# res = self . client . get ( '/dates/books/2008/week/39/' ) #NEWLINE# self . assertEqual ( res . status_code , 200 ) #NEWLINE# self . assertEqual ( res . context [ 'week' ] , datetime . date ( 2008 , 9 , 28 ) ) #NEWLINE# res = self . client . get ( '/dates/books/2008/week/39/monday/' ) #NEWLINE# self . assertEqual ( res . status_code , 200 ) #NEWLINE# self . assertEqual ( self . context [ 'week' ] , datetime . date ( 2008 , 9 , 29 ) )