This one should be beacon_name in the ret instead of _beacon_name which goes in the configuration.

This commit is contained in:
Gareth J. Greenaway 2020-10-07 14:15:35 -07:00 committed by Daniel Wozniak
parent 5d8db67eb2
commit 007775ca8b

View file

@ -42,7 +42,7 @@ class BeaconsTestCase(TestCase, LoaderModuleMockMixin):
{
"tag": "salt/beacon/minion/watch_apache/",
"data": {"id": "minion", "apache2": "Stopped"},
"_beacon_name": "ps",
"beacon_name": "ps",
}
]
self.assertEqual(ret, _expected)