Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str Assign NameStore Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Dict Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Dict Str Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpAdd Call NameLoad AttributeLoad NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str Assign AttributeStore NameLoad attr BinOpMod NameLoad TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign AttributeStore NameLoad attr Dict Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore BinOpMod AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Dict Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Assign NameStore BinOpMod AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Dict Str Str Str Str Assign NameStore Call NameLoad Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Dict Assign NameStore Call NameLoad Dict keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Dict Str Str Str Str Assign NameStore Call NameLoad Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Dict Assign NameStore Call NameLoad Dict keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr BoolOpOr BoolOpAnd NameLoad Str Str If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore TupleLoad Dict Str Str Str Str Dict Str Str Str Str Dict Str Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Num SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr Num SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Num SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Str Str Str Str Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad NameLoad attr Num SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad NameLoad Assign NameStore NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If CompareEq NameLoad Num body If CompareLt Call AttributeLoad NameLoad attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareEq NameLoad Num body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Num NameLoad decorator_list decorator_list Assign NameStore Call NameLoad ListLoad NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Expr Call NameLoad Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Call NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad NameLoad Assign NameStore NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Assign SubscriptStore NameLoad Index Num NameLoad decorator_list decorator_list Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Expr Call NameLoad Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad NameLoad Assign NameStore NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign SubscriptStore NameLoad Index Num NameLoad Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad Num decorator_list decorator_list Assign NameStore Call NameLoad ListLoad NameLoad NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Expr Call NameLoad Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad NameLoad Assign NameStore NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If CompareEq NameLoad Num body Assign SubscriptStore AttributeLoad NameLoad attr Index Num NameLoad If CompareEq NameLoad Num body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Num NameLoad decorator_list decorator_list Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Expr Call NameLoad Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Dict Str SubscriptLoad AttributeLoad NameLoad attr Index Str FunctionDef arguments args NameParam defaults body Assign SubscriptStore NameLoad Index Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num Return Str decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index BinOpSub NameLoad Num Return Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str For NameStore Call NameLoad Num BinOpAdd Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list
N/A N/A os N/A re N/A warnings django http django.conf settings django.contrib.formtools preview utils django.contrib.formtools.wizard FormWizard django.test TestCase django.test.utils get_warnings_state restore_warnings_state django.utils unittest django.contrib.formtools.tests.wizard * django.contrib.formtools.tests.forms * N/A N/A N/A warnings filterwarnings ignore category PendingDeprecationWarning module django.contrib.formtools.wizard N/A success_string Done was called! TestFormPreview N/A N/A preview FormPreview N/A get_context N/A N/A self request form N/A N/A N/A context N/A N/A N/A super TestFormPreview self get_context request form N/A N/A N/A context update N/A custom_context True N/A context N/A get_initial N/A N/A self request N/A N/A N/A N/A field1 Works! N/A done N/A N/A self request cleaned_data N/A N/A N/A N/A N/A http HttpResponse success_string N/A N/A FormToolsTestCase N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self old_TEMPLATE_DIRS N/A settings TEMPLATE_DIRS N/A N/A settings TEMPLATE_DIRS N/A N/A list N/A settings TEMPLATE_DIRS N/A N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ templates N/A tearDown N/A N/A self N/A N/A N/A N/A settings TEMPLATE_DIRS N/A self old_TEMPLATE_DIRS N/A N/A PreviewTests N/A FormToolsTestCase N/A N/A urls django.contrib.formtools.tests.urls setUp N/A N/A self N/A N/A N/A N/A N/A N/A super PreviewTests self setUp N/A N/A N/A self save_warnings_state N/A N/A N/A warnings filterwarnings ignore category DeprecationWarning module django.contrib.formtools.utils N/A N/A self preview N/A N/A preview FormPreview TestForm N/A input_template <input type="hidden" name="%s" value="%s" /> N/A N/A self input N/A input_template N/A N/A N/A N/A self preview unused_name stage %d N/A N/A self test_data N/A field1 field1_ foo asdf N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A super PreviewTests self tearDown N/A N/A N/A self restore_warnings_state N/A test_unused_name N/A N/A self N/A N/A N/A 
        Verifies name mangling to get uniue field name.
         N/A N/A N/A self assertEqual N/A N/A N/A self preview unused_name field1 field1__ N/A test_form_get N/A N/A self N/A N/A N/A 
        Test contrib.formtools.preview form retrieval.

        Use the client library to see if we can sucessfully retrieve
        the form (mostly testing the setup ROOT_URLCONF
        process). Verify that an additional  hidden input field
        is created to manage the stage.

         N/A response N/A N/A N/A self client get /preview/ N/A stage N/A N/A self input 1 N/A N/A N/A self assertContains response stage 1 N/A N/A N/A self assertEqual N/A N/A response context N/A custom_context True N/A N/A N/A self assertEqual N/A N/A N/A response context N/A form initial N/A field1 Works! N/A test_form_preview N/A N/A self N/A N/A N/A 
        Test contrib.formtools.preview form preview rendering.

        Use the client library to POST to the form to see if a preview
        is returned.  If we do get a form back check that the hidden
        value is correctly managing the state of the form.

         N/A N/A N/A N/A self test_data update N/A stage 1 N/A response N/A N/A N/A self client post /preview/ N/A self test_data N/A stage N/A N/A self input 2 N/A N/A N/A self assertContains response stage 1 N/A test_form_submit N/A N/A self N/A N/A N/A 
        Test contrib.formtools.preview form submittal.

        Use the client library to POST to the form with stage set to 3
        to see if our forms done() method is called. Check first
        without the security hash, verify failure, retry with security
        hash and verify sucess.

         N/A N/A N/A N/A self test_data update N/A stage 2 N/A response N/A N/A N/A self client post /preview/ N/A self test_data N/A N/A N/A self assertNotEqual N/A response content success_string N/A hash N/A N/A N/A self preview security_hash None N/A TestForm N/A self test_data N/A N/A N/A N/A self test_data update N/A hash hash N/A response N/A N/A N/A self client post /preview/ N/A self test_data N/A N/A N/A self assertEqual N/A response content success_string N/A test_bool_submit N/A N/A self N/A N/A N/A 
        Test contrib.formtools.preview form submittal when form contains:
        BooleanField(required=False)

        Ticket: #6209 - When an unchecked BooleanField is previewed, the preview
        form's hash would be computed with no value for ``bool1``. However, when
        the preview form is rendered, the unchecked hidden BooleanField would be
        rendered with the string value 'False'. So when the preview form is
        resubmitted, the hash would be computed with the value 'False' for
        ``bool1``. We need to make sure the hashes are the same in both cases.

         N/A N/A N/A N/A self test_data update N/A stage 2 N/A hash N/A N/A N/A self preview security_hash None N/A TestForm N/A self test_data N/A N/A N/A N/A self test_data update N/A hash bool1 hash False N/A response N/A N/A N/A self client post /preview/ N/A self test_data N/A N/A N/A self assertEqual N/A response content success_string N/A test_form_submit_good_hash N/A N/A self N/A N/A N/A 
        Test contrib.formtools.preview form submittal, using a correct
        hash
         N/A N/A N/A N/A self test_data update N/A stage 2 N/A response N/A N/A N/A self client post /preview/ N/A self test_data N/A N/A N/A self assertNotEqual N/A response content success_string N/A hash N/A N/A utils form_hmac N/A TestForm N/A self test_data N/A N/A N/A N/A self test_data update N/A hash hash N/A response N/A N/A N/A self client post /preview/ N/A self test_data N/A N/A N/A self assertEqual N/A response content success_string N/A test_form_submit_bad_hash N/A N/A self N/A N/A N/A 
        Test contrib.formtools.preview form submittal does not proceed
        if the hash is incorrect.
         N/A N/A N/A N/A self test_data update N/A stage 2 N/A response N/A N/A N/A self client post /preview/ N/A self test_data N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertNotEqual N/A response content success_string N/A hash N/A N/A N/A utils form_hmac N/A TestForm N/A self test_data bad N/A N/A N/A N/A self test_data update N/A hash hash N/A response N/A N/A N/A self client post /previewpreview/ N/A self test_data N/A N/A N/A self assertNotEqual N/A response content success_string N/A N/A SecurityHashTests N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self _warnings_state N/A get_warnings_state N/A N/A N/A warnings filterwarnings ignore category DeprecationWarning module django.contrib.formtools.utils N/A tearDown N/A N/A self N/A N/A N/A N/A restore_warnings_state N/A self _warnings_state N/A test_textfield_hash N/A N/A self N/A N/A N/A 
        Regression test for #10034: the hash generation function should ignore
        leading/trailing whitespace so as to be friendly to broken browsers that
        submit it (usually in textareas).
         N/A f1 N/A HashTestForm N/A name bio joe Nothing notable. N/A f2 N/A HashTestForm N/A name bio   joe Nothing notable.   N/A hash1 N/A N/A utils security_hash None f1 N/A hash2 N/A N/A utils security_hash None f2 N/A N/A N/A self assertEqual hash1 hash2 N/A test_empty_permitted N/A N/A self N/A N/A N/A 
        Regression test for #10643: the security hash should allow forms with
        empty_permitted = True, or forms where data has not changed.
         N/A f1 N/A HashTestBlankForm N/A N/A f2 N/A HashTestForm N/A empty_permitted True N/A hash1 N/A N/A utils security_hash None f1 N/A hash2 N/A N/A utils security_hash None f2 N/A N/A N/A self assertEqual hash1 hash2 N/A N/A FormHmacTests N/A N/A unittest TestCase N/A N/A 
    Same as SecurityHashTests, but with form_hmac
     test_textfield_hash N/A N/A self N/A N/A N/A 
        Regression test for #10034: the hash generation function should ignore
        leading/trailing whitespace so as to be friendly to broken browsers that
        submit it (usually in textareas).
         N/A f1 N/A HashTestForm N/A name bio joe Nothing notable. N/A f2 N/A HashTestForm N/A name bio   joe Nothing notable.   N/A hash1 N/A N/A utils form_hmac f1 N/A hash2 N/A N/A utils form_hmac f2 N/A N/A N/A self assertEqual hash1 hash2 N/A test_empty_permitted N/A N/A self N/A N/A N/A 
        Regression test for #10643: the security hash should allow forms with
        empty_permitted = True, or forms where data has not changed.
         N/A f1 N/A HashTestBlankForm N/A N/A f2 N/A HashTestForm N/A empty_permitted True N/A hash1 N/A N/A utils form_hmac f1 N/A hash2 N/A N/A utils form_hmac f2 N/A N/A N/A self assertEqual hash1 hash2 N/A N/A TestWizardClass N/A FormWizard N/A get_template N/A N/A self step N/A N/A N/A forms/wizard.html N/A done N/A N/A self request cleaned_data N/A N/A N/A N/A N/A http HttpResponse success_string N/A N/A DummyRequest N/A N/A http HttpRequest N/A __init__ N/A N/A self POST N/A None N/A N/A N/A N/A N/A super DummyRequest self __init__ N/A N/A self method N/A N/A POST POST GET N/A N/A POST None N/A N/A N/A N/A N/A self POST update POST N/A N/A self _dont_enforce_csrf_checks True N/A N/A WizardTests N/A FormToolsTestCase N/A N/A urls django.contrib.formtools.tests.urls N/A input_re N/A N/A re compile name="([^"]+)" value="([^"]+)" N/A wizard_step_data N/A N/A 0-name 0-thirsty Pony 2 N/A 1-address1 1-address2 123 Main St Djangoland N/A 2-random_crap blah blah setUp N/A N/A self N/A N/A N/A N/A N/A N/A super WizardTests self setUp N/A N/A self old_SECRET_KEY N/A settings SECRET_KEY N/A N/A settings SECRET_KEY 123 N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A super WizardTests self tearDown N/A N/A settings SECRET_KEY N/A self old_SECRET_KEY N/A test_step_starts_at_zero N/A N/A self N/A N/A N/A 
        step should be zero for the first form
         N/A response N/A N/A N/A self client get /wizard1/ N/A N/A N/A self assertEqual 0 N/A N/A response context N/A step0 N/A test_step_increments N/A N/A self N/A N/A N/A 
        step should be incremented when we go to the next page
         N/A response N/A N/A N/A self client post /wizard1/ N/A 0-field wizard_step test 0 N/A N/A N/A self assertEqual 1 N/A N/A response context N/A step0 N/A test_bad_hash N/A N/A self N/A N/A N/A 
        Form should not advance if the hash is missing or bad
         N/A response N/A N/A N/A self client post /wizard1/ N/A 0-field 1-field wizard_step test test2 1 N/A N/A N/A self assertEqual 0 N/A N/A response context N/A step0 N/A test_good_hash N/A N/A self N/A N/A N/A 
        Form should advance if the hash is present and good, as calculated using
        current method.
         N/A data N/A 0-field 1-field hash_0 wizard_step test test2 7e9cea465f6a10a6fb47fcea65cb9a76350c9a5c 1 N/A response N/A N/A N/A self client post /wizard1/ data N/A N/A N/A self assertEqual 2 N/A N/A response context N/A step0 N/A test_11726 N/A N/A self N/A N/A N/A 
        Regression test for ticket #11726.
        Wizard should not raise Http404 when steps are added dynamically.
         N/A reached N/A False N/A that self WizardWithProcessStep N/A TestWizardClass N/A process_step N/A N/A self request form step N/A N/A N/A N/A step 0 N/A N/A N/A N/A N/A self num_steps 2 N/A N/A N/A N/A N/A self form_list append WizardPageTwoForm N/A N/A step 1 N/A N/A N/A N/A that assertTrue N/A isinstance form WizardPageTwoForm N/A N/A reached N/A 0 True N/A N/A N/A wizard N/A WizardWithProcessStep N/A WizardPageOneForm N/A data N/A 0-field 1-field hash_0 wizard_step test test2 7e9cea465f6a10a6fb47fcea65cb9a76350c9a5c 1 N/A N/A wizard N/A DummyRequest POST data N/A N/A N/A self assertTrue N/A reached N/A 0 N/A data N/A 0-field 1-field hash_0 hash_1 wizard_step test test2 7e9cea465f6a10a6fb47fcea65cb9a76350c9a5c d5b434e3934cc92fee4bd2964c4ebc06f81d362d 2 N/A N/A N/A self assertRaises N/A http Http404 wizard N/A DummyRequest POST data N/A test_14498 N/A N/A self N/A N/A N/A 
        Regression test for ticket #14498.  All previous steps' forms should be
        validated.
         N/A reached N/A False N/A that self WizardWithProcessStep N/A TestWizardClass N/A process_step N/A N/A self request form step N/A N/A N/A N/A N/A that assertTrue N/A hasattr form cleaned_data N/A N/A reached N/A 0 True N/A N/A N/A wizard N/A WizardWithProcessStep N/A WizardPageOneForm WizardPageTwoForm WizardPageThreeForm N/A data N/A 0-field 1-field hash_0 wizard_step test test2 7e9cea465f6a10a6fb47fcea65cb9a76350c9a5c 1 N/A N/A wizard N/A DummyRequest POST data N/A N/A N/A self assertTrue N/A reached N/A 0 N/A test_14576 N/A N/A self N/A N/A N/A 
        Regression test for ticket #14576.

        The form of the last step is not passed to the done method.
         N/A reached N/A False N/A that self Wizard N/A TestWizardClass N/A done N/A N/A self request form_list N/A N/A N/A N/A reached N/A 0 True N/A N/A N/A that assertTrue N/A N/A len form_list 2 N/A N/A N/A wizard N/A Wizard N/A WizardPageOneForm WizardPageTwoForm N/A data N/A 0-field 1-field hash_0 wizard_step test test2 7e9cea465f6a10a6fb47fcea65cb9a76350c9a5c 1 N/A N/A wizard N/A DummyRequest POST data N/A N/A N/A self assertTrue N/A reached N/A 0 N/A test_15075 N/A N/A self N/A N/A N/A 
        Regression test for ticket #15075.  Allow modifying wizard's form_list
        in process_step.
         N/A reached N/A False N/A that self WizardWithProcessStep N/A TestWizardClass N/A process_step N/A N/A self request form step N/A N/A N/A N/A step 0 N/A N/A N/A N/A self form_list N/A 1 WizardPageTwoAlternativeForm N/A N/A step 1 N/A N/A N/A N/A that assertTrue N/A isinstance form WizardPageTwoAlternativeForm N/A N/A reached N/A 0 True N/A N/A N/A wizard N/A WizardWithProcessStep N/A WizardPageOneForm WizardPageTwoForm WizardPageThreeForm N/A data N/A 0-field 1-field hash_0 wizard_step test test2 7e9cea465f6a10a6fb47fcea65cb9a76350c9a5c 1 N/A N/A wizard N/A DummyRequest POST data N/A N/A N/A self assertTrue N/A reached N/A 0 N/A grab_field_data N/A N/A self response N/A N/A N/A 
        Pull the appropriate field data from the context to pass to the next wizard step
         N/A previous_fields N/A N/A response context N/A previous_fields N/A fields N/A wizard_step N/A N/A response context N/A step0 grab N/A N/A m N/A N/A N/A N/A fields N/A N/A N/A m group 1 N/A N/A m group 2 N/A N/A N/A N/A N/A N/A self input_re sub grab previous_fields N/A fields N/A check_wizard_step N/A N/A self response step_no N/A N/A N/A 
        Helper function to test each step of the wizard
        - Make sure the call succeeded
        - Make sure response is the proper step number
        - return the result from the post for the next step
         N/A step_count N/A len N/A self wizard_step_data N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertContains response N/A Step %d of %d N/A step_no step_count N/A data N/A N/A self grab_field_data response N/A N/A N/A data update N/A N/A self wizard_step_data N/A N/A step_no 1 N/A N/A N/A N/A self client post /wizard2/ data N/A test_9473 N/A N/A self N/A N/A N/A response N/A N/A N/A self client get /wizard2/ N/A step_no N/A range 1 N/A N/A len N/A self wizard_step_data 1 N/A N/A response N/A N/A self check_wizard_step response step_no N/A N/A