@skipUnlessDBFeature('supports_transactions')
    def test_commit_on_success(self):
        with self.assertRaises(Exception):
            with transaction.commit_on_success():
                self.create_reporter_and_fail()

        self.assertEqual(Reporter.objects.count(), 0)
Returns True if form.errors is empty for every form in self.forms.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/tests/modeltests/transactions/tests.py/TransactionContextManagerTests.test_commit_on_success--crossover with--dataset/ETHPy150Open dcramer/django-compositepks/django/forms/formsets.py/BaseFormSet.is_valid