Minor fix for def test_batch_run_grains_targeting

item was never "minion" without a colon, but os_grain was overwritten
anyway. So this fix does not actually affect the test outcome.
This commit is contained in:
Jochen Breuer 2018-09-12 19:58:42 +02:00
parent 0d647162e5
commit 7d0b20c91e
No known key found for this signature in database
GPG Key ID: 29ACE79F4D5EEE69

View File

@ -41,7 +41,7 @@ class BatchTest(ShellCase):
min_ret = "Executing run on [{0}]".format(repr('minion'))
for item in self.run_salt('minion grains.get os'):
if item != 'minion':
if item != 'minion:':
os_grain = item
os_grain = os_grain.strip()