From 007775ca8b2ae4f6636940996e0f62648e83ff98 Mon Sep 17 00:00:00 2001 From: "Gareth J. Greenaway" Date: Wed, 7 Oct 2020 14:15:35 -0700 Subject: [PATCH] This one should be beacon_name in the ret instead of _beacon_name which goes in the configuration. --- tests/unit/test_beacons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/test_beacons.py b/tests/unit/test_beacons.py index feb3aa5c86d6..b7a5127179f9 100644 --- a/tests/unit/test_beacons.py +++ b/tests/unit/test_beacons.py @@ -42,7 +42,7 @@ def test_beacon_module(self): { "tag": "salt/beacon/minion/watch_apache/", "data": {"id": "minion", "apache2": "Stopped"}, - "_beacon_name": "ps", + "beacon_name": "ps", } ] self.assertEqual(ret, _expected)