def test_worker_recover():
    """
    Test for set the worker to recover this module will fail
    if it is in OK state
    """
    with patch.object(modjk, "_do_http", return_value={}):
        assert modjk.worker_recover("node1", "loadbalancer1") == {}