mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add tests for pillar matching list objects Fix #2761
This commit is contained in:
parent
f94637b4b4
commit
aa1c55f610
1 changed files with 4 additions and 0 deletions
|
@ -94,6 +94,10 @@ class MatchTest(integration.ShellCase, integration.ShellCaseCommonTestsMixIn):
|
|||
data = '\n'.join(data)
|
||||
self.assertIn('sub_minion', data)
|
||||
self.assertNotIn('minion', data.replace('sub_minion', 'stub'))
|
||||
data = self.run_salt('-I "knights:Bedevere" test.ping')
|
||||
data = '\n'.join(data)
|
||||
self.assertIn('minion', data)
|
||||
self.assertIn('sub_minion', data)
|
||||
|
||||
def test_compound(self):
|
||||
'''
|
||||
|
|
Loading…
Add table
Reference in a new issue