#NEWLINE# def test_form_get( self ) : #NEWLINE# #INDENT# '\n        Test contrib.formtools.preview form retrieval.\n\n        Use the client library to see if we can sucessfully retrieve\n        the form (mostly testing the setup ROOT_URLCONF\n        process). Verify that an additional  hidden input field\n        is created to manage the stage.\n\n        ' #NEWLINE# response = self . client . get ( '/preview/' ) #NEWLINE# stage = ( self . input % 1 ) #NEWLINE# self . assertContains ( response , stage , 1 ) #NEWLINE# self . assertEqual ( self . context [ 'custom_context' ] , True ) #NEWLINE# self . assertEqual ( response . context [ 'form' ] . initial , { #NEWLINE# #INDENT# 'field1' : 'Works!' , #NEWLINE# #UNINDENT# } )