Module Expr Str ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias Expr Call NameLoad Str ImportFrom alias Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict ClassDef bases NameLoad body Expr Str ClassDef bases NameLoad body Expr Str Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list decorator_list decorator_list ClassDef bases NameLoad body Expr Str ClassDef bases NameLoad body Expr Str Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Return Dict Return ListLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return Dict decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str ListLoad decorator_list decorator_list Call NameLoad NameLoad NameLoad Call NameLoad Str Call NameLoad Call NameLoad Str Call NameLoad Call NameLoad Str Call NameLoad If CompareEq NameLoad Str body ImportFrom alias Expr Call NameLoad NameLoad keyword NameLoad
N/A N/A 
:codeauthor: :email:`Jayesh Kariya <jayeshk@saltstack.com>`
 __future__ absolute_import salttesting TestCase skipIf salttesting.mock patch NO_MOCK NO_MOCK_REASON salttesting.helpers ensure_in_syspath N/A N/A ensure_in_syspath ../../ salt.modules sysmod N/A N/A sysmod __salt__ N/A N/A N/A sysmod __opts__ N/A Mockstate N/A object N/A N/A 
    Mock of State
     State N/A object N/A N/A 
        Mock of State
         N/A states N/A __init__ N/A N/A self opts N/A N/A N/A N/A N/A N/A Mockrunner N/A object N/A N/A 
    Mock of runner
     Runner N/A object N/A N/A 
        Mock of Runner
         N/A functions N/A __init__ N/A N/A self opts N/A N/A N/A N/A N/A N/A Mockloader N/A object N/A N/A 
    Mock of loader
     N/A flag None N/A functions N/A __init__ N/A N/A self N/A N/A N/A N/A self opts None N/A N/A self lst None N/A returners N/A N/A self opts lst N/A N/A N/A 
        Mock of returners method
         N/A N/A self opts opts N/A N/A self lst lst N/A N/A self flag N/A N/A N/A N/A N/A N/A render N/A N/A self opts lst N/A N/A N/A 
        Mock of returners method
         N/A N/A self opts opts N/A N/A self lst lst N/A N/A N/A N/A SysmodTestCase N/A TestCase N/A N/A 
    Test cases for salt.modules.sysmod
     test_doc N/A N/A self N/A N/A N/A 
        Test if it return the docstrings for all modules.
         N/A N/A N/A self assertDictEqual N/A N/A sysmod doc N/A N/A test_state_doc N/A N/A self N/A N/A N/A 
        Test if it return the docstrings for all states.
         N/A N/A N/A self assertDictEqual N/A N/A sysmod state_doc N/A N/A N/A N/A self assertDictEqual N/A N/A sysmod state_doc sys.doc N/A N/A test_runner_doc N/A N/A self N/A N/A N/A 
        Test if it return the docstrings for all runners.
         N/A N/A N/A self assertDictEqual N/A N/A sysmod runner_doc N/A N/A N/A N/A self assertDictEqual N/A N/A sysmod runner_doc sys.doc N/A N/A test_returner_doc N/A N/A self N/A N/A N/A 
        Test if it return the docstrings for all returners.
         N/A N/A N/A self assertDictEqual N/A N/A sysmod returner_doc N/A N/A N/A N/A self assertDictEqual N/A N/A sysmod returner_doc sqlite3.get_* N/A N/A test_renderer_doc N/A N/A self N/A N/A N/A 
        Test if it return the docstrings for all renderers.
         N/A N/A N/A self assertDictEqual N/A N/A sysmod renderer_doc N/A N/A N/A N/A self assertDictEqual N/A N/A sysmod renderer_doc c* j* N/A N/A test_list_functions N/A N/A self N/A N/A N/A 
        Test if it list the functions for all modules.
         N/A N/A N/A self assertListEqual N/A N/A sysmod list_functions N/A N/A N/A N/A self assertListEqual N/A N/A sysmod list_functions sys N/A N/A test_list_modules N/A N/A self N/A N/A N/A 
        Test if it list the modules loaded on the minion
         N/A N/A N/A self assertListEqual N/A N/A sysmod list_modules N/A N/A N/A N/A self assertListEqual N/A N/A sysmod list_modules s* N/A N/A test_reload_modules N/A N/A self N/A N/A N/A 
        Test if it tell the minion to reload the execution modules
         N/A N/A N/A self assertTrue N/A N/A sysmod reload_modules N/A test_argspec N/A N/A self N/A N/A N/A 
        Test if it return the argument specification
        of functions in Salt execution modules.
         N/A N/A N/A self assertDictEqual N/A N/A sysmod argspec N/A N/A test_state_argspec N/A N/A self N/A N/A N/A 
        Test if it return the argument specification
        of functions in Salt state modules.
         N/A N/A N/A self assertDictEqual N/A N/A sysmod state_argspec N/A N/A test_returner_argspec N/A N/A self N/A N/A N/A 
        Test if it return the argument specification
        of functions in Salt returner modules.
         N/A N/A N/A self assertDictEqual N/A N/A sysmod returner_argspec N/A N/A test_runner_argspec N/A N/A self N/A N/A N/A 
        Test if it return the argument specification of functions in Salt runner
        modules.
         N/A N/A N/A self assertDictEqual N/A N/A sysmod runner_argspec N/A N/A test_list_state_functions N/A N/A self N/A N/A N/A 
        Test if it list the functions for all state modules.
         N/A N/A N/A self assertListEqual N/A N/A sysmod list_state_functions N/A N/A N/A N/A self assertListEqual N/A N/A sysmod list_state_functions file.s* N/A N/A test_list_state_modules N/A N/A self N/A N/A N/A 
        Test if it list the modules loaded on the minion.
         N/A N/A N/A self assertListEqual N/A N/A sysmod list_state_modules N/A N/A N/A N/A self assertListEqual N/A N/A sysmod list_state_modules mysql_* N/A N/A test_list_runners N/A N/A self N/A N/A N/A 
        Test if it list the runners loaded on the minion.
         N/A N/A N/A self assertListEqual N/A N/A sysmod list_runners N/A N/A N/A N/A self assertListEqual N/A N/A sysmod list_runners m* N/A N/A test_list_runner_functions N/A N/A self N/A N/A N/A 
        Test if it list the functions for all runner modules.
         N/A N/A N/A self assertListEqual N/A N/A sysmod list_runner_functions N/A N/A N/A N/A self assertListEqual N/A N/A sysmod list_runner_functions state.* N/A N/A test_list_returners N/A N/A self N/A N/A N/A 
        Test if it list the runners loaded on the minion
         N/A N/A Mockloader flag True N/A N/A N/A self assertListEqual N/A N/A sysmod list_returners N/A N/A N/A N/A self assertListEqual N/A N/A sysmod list_returners s* N/A N/A test_list_returner_functions N/A N/A self N/A N/A N/A 
        Test if it list the functions for all returner modules.
         N/A N/A N/A self assertListEqual N/A N/A sysmod list_returner_functions N/A N/A N/A N/A self assertListEqual N/A N/A sysmod list_returner_functions sqlite3.get_* N/A N/A test_list_renderers N/A N/A self N/A N/A N/A 
        Test if it list the renderers loaded on the minion.
         N/A N/A N/A self assertListEqual N/A N/A sysmod list_renderers N/A N/A N/A N/A self assertListEqual N/A N/A sysmod list_renderers sqlite3.get_* N/A N/A N/A N/A skipIf NO_MOCK NO_MOCK_REASON N/A patch salt.state N/A Mockstate N/A patch salt.runner N/A Mockrunner N/A patch salt.loader N/A Mockloader N/A N/A __name__ __main__ N/A integration run_tests N/A N/A run_tests SysmodTestCase needs_daemon False