'The commit_on_success context manager also works with a using argument.'

@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)
