#NEWLINE# def test_get_done_allow_display( self ) : #NEWLINE# #INDENT# self . fm . allow_display = True #NEWLINE# self . fm . save ( ) #NEWLINE# fmd = FormModelData . objects . create ( form = self . fm , value = '{}' ) #NEWLINE# response = self . client . get ( ( '/done/?display_key=%s' % fmd . display_key ) ) #NEWLINE# self . assertEqual ( response . status_code , 200 ) #NEWLINE# self . assertTemplateUsed ( response , 'dynamic_forms/form_success.html' ) #NEWLINE# self . assertContains ( response , fmd . show_url_link , count = 1 , html = True )