Module Expr Str ImportFrom alias Import alias Import alias Import alias ImportFrom alias Expr Call NameLoad Str Import alias Import alias ClassDef bases AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Str Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str With Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Str With Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad keyword Num keyword NameLoad keyword NameLoad TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str handlers ExceptHandler type NameLoad body If BoolOpAnd Call AttributeLoad AttributeLoad NameLoad attr attr Str CompareNotEq SubscriptLoad NameLoad Index Num Num body Raise Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Num finalbody Expr Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list If CompareEq NameLoad Str body ImportFrom alias Expr Call NameLoad NameLoad
N/A N/A 
Tests for the salt-run command
 __future__ absolute_import N/A os N/A yaml N/A shutil salttesting.helpers ensure_in_syspath N/A N/A ensure_in_syspath ../../ N/A integration N/A salt.utils RunTest N/A N/A integration ShellCase N/A integration ShellCaseCommonTestsMixIn N/A N/A 
    Test the salt-run command
     N/A _call_binary_ salt-run test_in_docs N/A N/A self N/A N/A N/A 
        test the salt-run docs system
         N/A data N/A N/A self run_run -d N/A data N/A N/A join data N/A N/A N/A self assertIn jobs.active: data N/A N/A N/A self assertIn jobs.list_jobs: data N/A N/A N/A self assertIn jobs.lookup_jid: data N/A N/A N/A self assertIn manage.down: data N/A N/A N/A self assertIn manage.up: data N/A N/A N/A self assertIn network.wol: data N/A N/A N/A self assertIn network.wollist: data N/A test_notin_docs N/A N/A self N/A N/A N/A 
        Verify that hidden methods are not in run docs
         N/A data N/A N/A self run_run -d N/A data N/A N/A join data N/A N/A N/A self assertNotIn jobs.SaltException: data N/A test_salt_documentation_too_many_arguments N/A N/A self N/A N/A N/A 
        Test to see if passing additional arguments shows an error
         N/A data N/A N/A self run_run -d virt.list foo catch_stderr True N/A N/A N/A self assertIn You can only get documentation for one method at one time N/A N/A join N/A data N/A 1 N/A test_issue_7754 N/A N/A self N/A N/A N/A old_cwd N/A N/A os getcwd N/A config_dir N/A N/A N/A os path join N/A integration TMP issue-7754 N/A N/A N/A N/A N/A os path isdir config_dir N/A N/A N/A N/A os makedirs config_dir N/A N/A N/A os chdir config_dir N/A config_file_name master N/A N/A N/A N/A salt utils fopen N/A N/A self get_config_file_path config_file_name r fhr N/A N/A config N/A N/A yaml load N/A N/A fhr read N/A N/A config N/A log_file file:///dev/log/LOG_LOCAL3 N/A N/A N/A N/A salt utils fopen N/A N/A N/A os path join config_dir config_file_name w fhw N/A N/A N/A N/A fhw write N/A N/A yaml dump config default_flow_style False N/A ret N/A N/A self run_script N/A self _call_binary_ N/A N/A --config-dir {0} -d format config_dir timeout 15 catch_stderr True with_retcode True N/A N/A N/A N/A N/A N/A N/A self assertIn 'doc.runner:' N/A ret N/A 0 N/A N/A N/A self assertFalse N/A N/A N/A os path isdir N/A N/A N/A os path join config_dir file: N/A N/A N/A AssertionError N/A N/A N/A N/A N/A N/A os path exists /dev/log N/A N/A ret N/A 2 2 N/A N/A N/A N/A N/A self assertIn Failed to setup the Syslog logging handler N/A N/A join N/A ret N/A 1 N/A N/A N/A self assertEqual N/A ret N/A 2 2 N/A N/A N/A N/A self chdir old_cwd N/A N/A N/A N/A os path isdir config_dir N/A N/A N/A N/A shutil rmtree config_dir N/A N/A N/A N/A __name__ __main__ N/A integration run_tests N/A N/A run_tests RunTest