'The commit_on_success decorator also works with a using argument.'

@skipUnlessDBFeature('supports_transactions')
def test_commit_on_success_with_using(self):

    using_committed_on_success = transaction.commit_on_success(using='default')(self.create_a_reporter_then_fail)
    self.assertRaises(Exception, using_committed_on_success, 'Dirk', 'Gently')
    self.assertEqual(Reporter.objects.count(), 0)
