mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Better examples on tests
This commit is contained in:
parent
b969cd15f7
commit
13106807b1
2 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ class CallTest(integration.ShellCase, integration.ShellCaseCommonTestsMixIn):
|
|||
'''
|
||||
Test to see if passing additional arguments shows an error
|
||||
'''
|
||||
data = self.run_call('-d salt ldap.search "filter=ou=People"', catch_stderr=True)
|
||||
data = self.run_call('-d virtualenv.create /tmp/ve', catch_stderr=True)
|
||||
self.assertIn('You can only get documentation for one method at one time', '\n'.join(data[1]))
|
||||
|
||||
def test_issue_6973_state_highstate_exit_code(self):
|
||||
|
|
|
@ -50,7 +50,7 @@ class RunTest(integration.ShellCase, integration.ShellCaseCommonTestsMixIn):
|
|||
'''
|
||||
Test to see if passing additional arguments shows an error
|
||||
'''
|
||||
data = self.run_run('-d salt ldap.search "filter=ou=People"', catch_stderr=True)
|
||||
data = self.run_run('-d virt.list foo', catch_stderr=True)
|
||||
self.assertIn('You can only get documentation for one method at one time', '\n'.join(data[1]))
|
||||
|
||||
def test_issue_7754(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue