def test_worker_activate():
    """
    Test for set the worker to activate state in the lbn load balancer
    """
    with patch.object(modjk, "_do_http", return_value={"worker.result.type": "OK"}):
        assert modjk.worker_activate("node1", "loadbalancer1")