#NEWLINE# def test_homepage_context( self ) : #NEWLINE# #INDENT# template_loader . templates [ 'page/category.html' ] = '' #NEWLINE# response = self . client . get ( '/' ) #NEWLINE# tools . assert_true ( ( 'category' in response . context ) ) #NEWLINE# tools . assert_equals ( self . category , response . context [ 'category' ] )