Module Expr Str ImportFrom alias Import 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 Assign NameStore Str 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 For NameStore TupleLoad Str Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad Str attr NameLoad 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 SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str NameLoad If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str BinOpAdd Call NameLoad SubscriptLoad NameLoad Index Str Num Assign SubscriptStore NameLoad Index Str BinOpAdd Call NameLoad SubscriptLoad NameLoad Index Str Num 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 NameLoad keyword Num keyword NameLoad keyword NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameStore body TryExcept body Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass TryFinally body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str 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 
    :codeauthor: :email:`Pedro Algarvio (pedro@algarvio.me)`


    tests.integration.shell.syndic
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 __future__ absolute_import N/A os N/A yaml N/A signal N/A shutil salttesting.helpers ensure_in_syspath N/A N/A ensure_in_syspath ../../ N/A integration N/A salt.utils SyndicTest N/A N/A integration ShellCase N/A integration ShellCaseCommonTestsMixIn N/A N/A _call_binary_ salt-syndic 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 fname N/A master minion N/A N/A pid_path N/A N/A N/A os path join config_dir N/A N/A {0}.pid format fname N/A N/A N/A N/A salt utils fopen N/A N/A self get_config_file_path fname 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 N/A config N/A syndic_log_file file:///tmp/log/LOG_LOCAL3 N/A N/A config N/A root_dir config_dir N/A N/A ret_port config N/A N/A N/A config N/A ret_port N/A N/A int N/A config N/A ret_port 10 N/A N/A config N/A publish_port N/A N/A int N/A config N/A publish_port 10 N/A N/A N/A N/A salt utils fopen N/A N/A N/A os path join config_dir fname 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} --pid-file={1} -l debug format config_dir pid_path timeout 5 catch_stderr True with_retcode True N/A N/A N/A N/A os path exists pid_path N/A N/A N/A N/A N/A salt utils fopen pid_path fhr N/A N/A N/A N/A N/A N/A os kill N/A int N/A N/A fhr read N/A signal SIGKILL N/A N/A N/A OSError N/A N/A N/A N/A 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 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 SyndicTest