@skipUnlessDBFeature('supports_transactions')
    def test_autocommit_decorator(self):
        autocomitted_create_then_fail = transaction.autocommit(
            self.create_a_reporter_then_fail
        )
        self.assertRaises(Exception,
            autocomitted_create_then_fail,
            "Alice", "Smith"
        )
        # Again, the object created before the exception still exists
        self.assertEqual(Reporter.objects.count(), 1)
Returns a generator over the (referenceSet, nextPageToken) pairs
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/tests/modeltests/transactions/tests.py/TransactionTests.test_autocommit_decorator--crossover with--dataset/ETHPy150Open ga4gh/server/ga4gh/backend.py/Backend.referenceSetsGenerator