def removeConnection(self):
        id = self.getCurrentItemId()
        self.takeItem(self.currentRow())
        self.__list.remove_connection(id)
Cleanup resources in case of test-failure
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/open_db_window.py/QDBConnectionList.removeConnection--crossover with--dataset/ETHPy150Open openstack/neutron/neutron/tests/tempest/api/base.py/BaseNetworkTest._try_delete_resource