Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias Expr Call NameLoad Str ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam NameParam defaults Num Num body Pass decorator_list Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad keyword Num keyword Num keyword Num Dict Str Str ListLoad Num Call NameLoad keyword Num keyword Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad keyword Num keyword Num Dict Str Str ListLoad Num Call NameLoad keyword Num keyword Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad keyword Num Dict Str Str ListLoad Num Call NameLoad keyword Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam NameParam defaults Num Num body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Pass decorator_list With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call NameLoad NameLoad Call NameLoad keyword Num With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call NameLoad NameLoad Call NameLoad keyword Num decorator_list decorator_list If CompareEq NameLoad Str body ImportFrom alias Expr Call NameLoad NameLoad keyword NameLoad
N/A N/A 
    :codeauthor: :email:`Pedro Algarvio (pedro@algarvio.me)`


    tests.unit.utils.format_call_test
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Test `salt.utils.format_call`
 __future__ absolute_import salttesting TestCase salttesting.helpers ensure_in_syspath N/A N/A ensure_in_syspath ../../ salt.utils format_call salt.exceptions SaltInvocationError TestFormatCall N/A TestCase N/A test_simple_args_passing N/A N/A self N/A N/A foo N/A N/A one two three N/A 2 3 N/A N/A N/A N/A N/A N/A self assertEqual N/A format_call foo N/A dict one 10 two 20 three 30 N/A args kwargs N/A 10 N/A dict two 20 three 30 N/A N/A N/A self assertEqual N/A format_call foo N/A dict one 10 two 20 N/A args kwargs N/A 10 N/A dict two 20 three 3 N/A N/A N/A self assertEqual N/A format_call foo N/A dict one 2 N/A args kwargs N/A 2 N/A dict two 2 three 3 N/A test_mimic_typeerror_exceptions N/A N/A self N/A N/A foo N/A N/A one two three N/A 2 3 N/A N/A N/A foo2 N/A N/A one two three N/A 3 N/A N/A N/A N/A N/A N/A self assertRaisesRegexp SaltInvocationError foo takes at least 1 argument \(0 given\) N/A N/A N/A format_call foo N/A dict two 3 N/A N/A N/A self assertRaisesRegexp TypeError foo2 takes at least 2 arguments \(1 given\) N/A N/A N/A format_call foo2 N/A dict one 1 N/A N/A N/A N/A __name__ __main__ N/A integration run_tests N/A N/A run_tests TestFormatCall needs_daemon False