mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Update the doc strings in the test module
This commit is contained in:
parent
36496f32de
commit
d3d83e255a
1 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,9 @@ Module for running arbitrairy tests
|
|||
def echo(text):
|
||||
'''
|
||||
Return a string - used for testing the connection
|
||||
|
||||
CLI Example:
|
||||
salt '*' test.echo 'foo bar baz quo qux'
|
||||
'''
|
||||
print 'Echo got called!'
|
||||
return text
|
||||
|
@ -13,5 +16,8 @@ def ping():
|
|||
'''
|
||||
Just used to make sure the minion is up and responding
|
||||
Return True
|
||||
|
||||
CLI Example:
|
||||
salt '*' test.ping
|
||||
'''
|
||||
return True
|
||||
|
|
Loading…
Add table
Reference in a new issue