def METHOD_NAME():
    """
    Test for return the state of the worker
    """
    with patch.object(
        modjk,
        "_do_http",
        return_value={"worker.node1.activation": "ACT", "worker.node1.state": "OK"},
    ):
        assert modjk.worker_status("node1") == {"activation": "ACT", "state": "OK"}
    with patch.object(modjk, "_do_http", return_value={}):
        assert not modjk.worker_status("node1")