@skipUnlessDBFeature('supports_transactions')
    def test_commit_on_success_with_using(self):
        with self.assertRaises(Exception):
            with transaction.commit_on_success(using="default"):
                self.create_reporter_and_fail()

        self.assertEqual(Reporter.objects.count(), 0)
This function gathers all layers below one or more given :class:`Layer`
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.3/tests/modeltests/transactions/tests_25.py/TransactionContextManagerTests.test_commit_on_success_with_using--crossover with--dataset/ETHPy150Open Lasagne/Lasagne/lasagne/layers/helper.py/get_all_layers