Skip to content

Commit

Permalink
Added versionadded directives to the new test state module
Browse files Browse the repository at this point in the history
  • Loading branch information
whiteinge committed Apr 18, 2014
1 parent 0a8850d commit 91935da
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions salt/states/test.py
Expand Up @@ -45,6 +45,8 @@ def succeed_without_changes(name):
'''
Returns successful.
.. versionadded:: Helium
name
A unique string.
'''
Expand All @@ -68,6 +70,8 @@ def fail_without_changes(name):
'''
Returns failure.
.. versionadded:: Helium
name:
A unique string.
'''
Expand All @@ -93,6 +97,8 @@ def succeed_with_changes(name):
'''
Returns successful and changes is not empty
.. versionadded:: Helium
name:
A unique string.
'''
Expand Down Expand Up @@ -127,6 +133,8 @@ def fail_with_changes(name):
'''
Returns failure and changes is not empty.
.. versionadded:: Helium
name:
A unique string.
'''
Expand Down Expand Up @@ -161,6 +169,8 @@ def configurable_test_state(name, changes=True, result=True, comment=''):
'''
A configurable test state which determines its output based on the inputs.
.. versionadded:: Helium
name:
A unique string.
changes:
Expand Down

0 comments on commit 91935da

Please sign in to comment.