#NEWLINE# def testCreateEntry( self ) : #NEWLINE# #INDENT# '\n        Test the ability to create a valid new entry\n        ' #NEWLINE# response = self . client . post ( self . create_url , self . default_data , follow = True ) #NEWLINE# self . assertRedirects ( response , reverse ( 'dashboard' ) , status_code = 302 , target_status_code = 200 ) #NEWLINE# self . assertContains ( response , 'The entry has been created successfully' , count = 1 )