'Performs any post-test things. This includes:
* Flushing the contents of the database, to leave a clean slate. If
the class has an \'available_apps\' attribute, post_syncdb isn\'t fired.
* Force-closing the connection, so the next test gets a clean cursor.'

def _post_teardown(self):

    try:
        self._fixture_teardown()
        super(TransactionTestCase, self)._post_teardown()
        for conn in connections.all():
            conn.close()
    finally:
        cache.unset_available_apps()
