salt/tests
Pedro Algarvio bacd2264ee State calls now fail if non-supported arguments are used. Fixes #6962.
* Removed `format_call` from `salt.state.State` since it was almost a one to one copy of `salt.utils.format_call`.
* The `format_call` in `salt.utils` was modified to accept initial return data(to provide the functionality from the removed `State.format_call`.
* While the function arguments are being queried/matched, those used are removed from a copy of the passed data. Once finished, any remaining keyword arguments which do not match those allowed on the `expected_extra_kws` keyword argument to `format_call` will raise a `SaltInvocationError`.

This will prevent any future bogus bug searching like what happened on #6912 because the wrong state function argument was being passed.
2013-09-24 22:08:07 +01:00
..
integration State calls now fail if non-supported arguments are used. Fixes #6962. 2013-09-24 22:08:07 +01:00
unit Fix unit.states.rvm_test.TestRvmState.test_installed 2013-09-21 10:42:34 +01:00
__init__.py Refactor runtests to allow dotted path module discovery. 2012-05-29 19:56:47 -07:00
consist.py Replaced range(len(collection)) with enumerate(collection) 2013-08-31 13:38:42 +07:00
eventlisten.py Doh! node 2013-06-11 16:39:48 -06:00
jenkins.py opts not `options' 2013-09-10 12:21:41 +01:00
minionswarm.py Updated arg to salt-key in minionswarm script 2013-07-01 17:03:39 -06:00
runtests.py track_processes is no longer a valid `kwarg'. 2013-09-10 17:49:38 +01:00
wheeltest.py Make wheeltest pprint, much easier to use 2012-10-29 23:04:15 -06:00