'If there aren\'t any exceptions, the data will get saved.'

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

    Reporter.objects.create(first_name='Alice', last_name='Smith')
    with transaction.commit_on_success():
        Reporter.objects.filter(first_name='Alice').delete()
    self.assertQuerysetEqual(Reporter.objects.all(), [])
