

def test_first_step(self):
    request = get_request()
    testform = TestWizard.as_view([Step1, Step2])
    (response, instance) = testform(request)
    self.assertEqual(instance.steps.current, '0')
    testform = TestWizard.as_view([('start', Step1), ('step2', Step2)])
    (response, instance) = instance(request)
    self.assertEqual(instance.steps.current, 'start')

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/contrib/formtools/tests/wizard/forms.py FormTests.test_first_step/VarMisuse@80/107 `testform`->`instance`