#NEWLINE# def test_14498( self ) : #NEWLINE# #INDENT# "\n        Regression test for ticket #14498.  All previous steps' forms should be\n        validated.\n        " #NEWLINE# reached = [ False ] #NEWLINE# that = reached #NEWLINE# class WizardWithProcessStep ( WizardClass ) : #NEWLINE# #INDENT# def process_step( self , request , form , step ) : #NEWLINE# #INDENT# that . assertTrue ( hasattr ( form , 'cleaned_data' ) ) #NEWLINE# reached [ 0 ] = True #NEWLINE# #UNINDENT# #UNINDENT# wizard = WizardWithProcessStep ( [ WizardPageOneForm , WizardPageTwoForm , WizardPageThreeForm ] ) #NEWLINE# data = { #NEWLINE# #INDENT# '0-field' : 'test' , #NEWLINE# '1-field' : 'test2' , #NEWLINE# 'hash_0' : '7e9cea465f6a10a6fb47fcea65cb9a76350c9a5c' , #NEWLINE# 'wizard_step' : '1' , #NEWLINE# #UNINDENT# } #NEWLINE# wizard ( DummyRequest ( POST = data ) ) #NEWLINE# self . assertTrue ( reached [ 0 ] )