'Make sure that under commit_manually, even "read-only" transaction require closure
(commit or rollback), and a transaction left pending is treated as an error.'

def test_commit_manually_enforced(self):

    @commit_manually
    def non_comitter():
        'Execute    a    managed    transaction    with    read-only    operations    and    fail    to    commit'
        _ = Mod.objects.count()
    self.assertRaises(TransactionManagementError, non_comitter)
