#NEWLINE# def test_create_article_display_page( self ) : #NEWLINE# #INDENT# '\n        Ensures the generic view returned the page and contains a form.\n        ' #NEWLINE# view_url = '/views/create_update/create/article/' #NEWLINE# response = self . client . get ( view_url ) #NEWLINE# self . assertEqual ( response . status_code , 200 ) #NEWLINE# self . assertTemplateUsed ( response , 'views/article_form.html' ) #NEWLINE# if ( not response . context . get ( 'form' ) ) : #NEWLINE# #INDENT# self . fail ( 'No form found in the response.' )