'Regression test for ticket #14576.
The form of the last step is not passed to the done method.'

def test_14576(self):

    reached = [False]
    that = self
    class Wizard(WizardClass, ):
        def done(self, request, form_list):
            reached[0] = True
            that.assertTrue((len(form_list) == 2))
    wizard = Wizard([WizardPageOneForm, WizardPageTwoForm])
    data = {'0-field': 'test', '1-field': 'test2', 'hash_0': '2fdbefd4c0cad51509478fbacddf8b13', 'wizard_step': '1'}
    wizard(DummyRequest(POST=data))
    self.assertTrue(reached[0])
