def test_form_submit(self):
        # Pass strings for form submittal and add stage variable to
        # show we previously saw first stage of the form.
        self.test_data.update({'stage':2})
        response = self.client.post('/test1/', self.test_data)
        self.assertNotEqual(response.content, success_string)
        hash = self.preview.security_hash(None, TestForm(self.test_data))
        self.test_data.update({'hash': hash})
        response = self.client.post('/test1/', self.test_data)
        self.assertEqual(response.content, success_string)
Reuse not posted report
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.3/django/contrib/formtools/tests/__init__.py/PreviewTests.test_form_submit--crossover with--dataset/ETHPy150Open rene-aguirre/pywinusb/pywinusb/hid/core.py/HidDevice.InputReportQueue.reuse