

def test_form_prefix(self):
    request = get_request()
    testform = TestWizard.as_view([('start', Step1), ('step2', Step2)])
    (response, instance) = testform(request)
    self.assertEqual(instance.get_form_prefix(), 'start')
    self.assertEqual(instance.get_form_prefix('another'), 'another')

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/contrib/formtools/tests/wizard/forms.py FormTests.test_form_prefix/original