salt/tests/integration/states
Aneesh Agrawal ba63920874 Support states returning a list for ret['comment']
Some states are complicated and multiple subparts,
or maybe cross-call into __states__ if they manage subresources.
In these cases, they will have multiple comments.
Make this more ergonomic by supporting a list of strings as the
value for ret['comment'] in state returns and documenting this.
By joining comments on newlines, it is possible to combine
single-line and multi-line comments cleanly, as opposed to e.g. commas.

The driving impetus for this is some of the boto modules.
An update to the boto_sqs module is included as an example.

Add a check that outgoing state return data has the right shape,
and add a testcase as well.
Fix the NPM state tests and the saltmod runner & wheel state functions
to comply with the prescribed format.
2017-09-05 19:52:42 +00:00
..
__init__.py Include the python encoding file header on tests. 2013-11-27 11:19:24 +00:00
test_alternatives.py Import from the original modules not tests.integration 2017-04-04 18:58:19 +01:00
test_archive.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_boto_sns.py Don't attempt connections at the module level! 2017-04-28 13:33:32 +01:00
test_bower.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_cmd.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_compiler.py Import from the original modules not tests.integration 2017-04-04 18:58:19 +01:00
test_docker_container.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_file.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_git.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_handle_error.py Import from the original modules not tests.integration 2017-04-04 18:58:19 +01:00
test_handle_iorder.py Import from the original modules not tests.integration 2017-04-04 18:58:19 +01:00
test_host.py Update all references for moved functions to use "files" util 2017-07-18 10:31:01 -06:00
test_keystone.py Merge branch '2016.11' into 'nitrogen' 2017-05-30 10:16:14 -06:00
test_match.py Update all references for moved functions to use "files" util 2017-07-18 10:31:01 -06:00
test_mysql.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_network.py Import from the original modules not tests.integration 2017-04-04 18:58:19 +01:00
test_npm.py Support states returning a list for ret['comment'] 2017-09-05 19:52:42 +00:00
test_pip.py Move 4 functions from salt.utils to salt.utils.versions 2017-08-15 12:53:57 -05:00
test_pkg.py Merge branch '2017.7' into 'develop' 2017-08-10 14:47:14 -04:00
test_pkgrepo.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_rabbitmq_user.py Use the more portable helper skip_if_not_root. 2017-04-04 18:58:21 +01:00
test_rabbitmq_vhost.py Use the more portable helper skip_if_not_root. 2017-04-04 18:58:21 +01:00
test_renderers.py Merge branch '2016.11' into '2017.7' 2017-07-20 09:54:08 -06:00
test_service.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_ssh.py Update all references for moved functions to use "files" util 2017-07-18 10:31:01 -06:00
test_supervisord.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_svn.py Import from the original modules not tests.integration 2017-04-04 18:58:19 +01:00
test_user.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_virtualenv.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_zookeeper.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00