@mock.patch.object(fakelibvirt.virConnect, "registerCloseCallback")
    def test_close_callback_bad_signature(self, mock_close):
        mock_close.side_effect = TypeError('dd')
        connection = self.host.get_connection()
        self.assertTrue(connection)
List of instances associated with the given application.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/tests/unit/virt/libvirt/test_host.py/HostTestCase.test_close_callback_bad_signature--crossover with--dataset/ETHPy150Open ducksboard/libsaas/libsaas/services/newrelic/application_instances.py/ApplicationInstances.get