@skipUnlessDBFeature('supports_transactions')
    def test_autocommit(self):
        self.assertRaises(Exception,
            self.create_a_reporter_then_fail,
            "Alice", "Smith"
        )

        # The object created before the exception still exists
        self.assertEqual(Reporter.objects.count(), 1)
Update name of a user and ensure that each friend is notified.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/tests/modeltests/transactions/tests.py/TransactionTests.test_autocommit--crossover with--dataset/ETHPy150Open viewfinderco/viewfinder/backend/www/test/auth_test.py/AuthTestCase.testUpdateFriendAttribute