Add CLI Example for rest_sample_utils.get_test_string function (#39030)

Fixes test_valid_doc test that is failing on 2016.11
This commit is contained in:
Nicole Thomas 2017-01-30 10:34:25 -07:00 committed by GitHub
parent f13fb9ef1e
commit 1ff359fa58

View File

@ -24,5 +24,12 @@ def fix_outage():
def get_test_string():
'''
Helper function to test cross-calling to the __proxy__ dunder.
CLI Example:
.. code-block:: bash
salt 'rest-sample-proxy' rest_sample.get_test_string
'''
return __proxy__['rest_sample.test_from_state']()