'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')
    remove_comitted_on_success = transaction.commit_on_success(self.remove_a_reporter)
    remove_comitted_on_success('Alice')
    self.assertEqual(list(Reporter.objects.all()), [])
