mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
add more comments
This commit is contained in:
parent
f34008988b
commit
1d46f01389
1 changed files with 2 additions and 0 deletions
|
@ -205,10 +205,12 @@ class MatchTest(integration.ShellCase, integration.ShellCaseCommonTestsMixIn):
|
|||
data = '\n'.join(data)
|
||||
self.assertIn('minion:', data)
|
||||
self.assertNotIn('sub_minion', data)
|
||||
# Test to ensure wildcard at end works correctly
|
||||
data = self.run_salt('-G "companions:one:*" test.ping')
|
||||
data = '\n'.join(data)
|
||||
self.assertIn('minion:', data)
|
||||
self.assertNotIn('sub_minion', data)
|
||||
# Test to ensure multiple wildcards works correctly
|
||||
data = self.run_salt('-G "companions:*:*" test.ping')
|
||||
data = '\n'.join(data)
|
||||
self.assertIn('minion:', data)
|
||||
|
|
Loading…
Add table
Reference in a new issue