def METHOD_NAME(self):
    """
    publish.publish
    """
    ret = self.run_function(
        "publish.publish", ["minion", "test.ping"], f_timeout=50
    )
    self.assertEqual(ret, {"minion": True})
    ret = self.run_function(
        "publish.publish",
        ["minion", "test.kwarg"],
        f_arg="cheese=spam",
        f_timeout=50,
    )
    ret = ret["minion"]
    check_true = (
        "cheese",
        "__pub_arg",
        "__pub_fun",
        "__pub_id",
        "__pub_jid",
        "__pub_ret",
        "__pub_tgt",
        "__pub_tgt_type",
    )
    for name in check_true:
        if name not in ret:
            print(name)
        self.assertTrue(name in ret)
    self.assertEqual(ret["cheese"], "spam")
    self.assertEqual(ret["__pub_arg"], [{"cheese": "spam"}])
    self.assertEqual(ret["__pub_id"], "minion")
    self.assertEqual(ret["__pub_fun"], "test.kwarg")