#NEWLINE# def test_detail_view_with_event( self ) : #NEWLINE# #INDENT# "\n        Going to a url for an event that exists should display the event's\n        details.\n        " #NEWLINE# event = create_event ( start_date = ( 2015 , 2 , 15 ) , end_date = ( 2015 , 2 , 16 ) , created_by = self . user , title = 'The Event' , description = 'This is an event for next month.' , full = False ) #NEWLINE# response = self . client . get ( reverse ( 'calendar:detail' , kwargs = { #NEWLINE# #INDENT# 'pk' : event . pk , #NEWLINE# #UNINDENT# } ) ) #NEWLINE# self . assertContains ( response , 'This is an event' )