@skipUnlessDBFeature('supports_transactions')
    def test_manually_managed_with_using(self):
        with self.assertRaises(transaction.TransactionManagementError):
            with transaction.commit_manually(using="default"):
                Reporter.objects.create(first_name="Walter", last_name="Cronkite")
The commit_manually function also works with a using argument.
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/tests/transactions/tests.py/TransactionContextManagerTests.test_manually_managed_with_using