'Validates that a connection to libvirt exist,
even when registerCloseCallback method has a different
number of arguments in the libvirt python library.'

@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)
