Module Expr Str ImportFrom alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias Expr Call NameLoad Str Import alias ImportFrom alias Assign AttributeStore NameLoad attr Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str ListLoad Str Str ListLoad Str Str NameLoad Str Str ListLoad ListLoad Str Str NameLoad Str Str Str NameLoad Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Import alias Assign NameStore NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr body Assign NameStore NameLoad ClassDef bases AttributeLoad NameLoad attr body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Pass TryExcept body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If CompareNotIn Str AttributeLoad NameLoad attr body TryExcept body Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareNotEq NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Str Str SubscriptLoad AttributeLoad NameLoad attr Index Str ListLoad BinOpAdd Str AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Str Str SubscriptLoad AttributeLoad NameLoad attr Index Str ListLoad BinOpAdd Str AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Str Str SubscriptLoad AttributeLoad NameLoad attr Index Str ListLoad BinOpAdd Str AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Str Str SubscriptLoad AttributeLoad NameLoad attr Index Str ListLoad BinOpAdd Str AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list decorator_list Call NameLoad UnaryOpNot NameLoad Str Call NameLoad NameLoad NameLoad If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad
N/A N/A 
    :codeauthor: :email:`Mike Place <mp@saltstack.com>`
 __future__ absolute_import N/A os N/A logging N/A pwd N/A shutil salttesting skipIf salttesting.helpers ensure_in_syspath salttesting.mock patch NO_MOCK NO_MOCK_REASON N/A N/A ensure_in_syspath ../.. N/A integration salt.fileserver gitfs N/A N/A gitfs __opts__ N/A cachedir gitfs_remotes gitfs_root fileserver_backend gitfs_base fileserver_events transport gitfs_mountpoint gitfs_env_whitelist gitfs_env_blacklist gitfs_user gitfs_password gitfs_insecure_auth gitfs_privkey gitfs_pubkey gitfs_passphrase gitfs_ssl_verify /tmp/gitfs_test_cache N/A N/A git master True zeromq N/A N/A False True N/A LOAD N/A saltenv base N/A log N/A N/A logging getLogger __name__ N/A N/A N/A git N/A GITFS_AVAILABLE True N/A N/A N/A ImportError N/A N/A GITFS_AVAILABLE False N/A N/A N/A N/A gitfs __virtual__ N/A N/A GITFS_AVAILABLE False GitFSTest N/A N/A integration ModuleCase N/A N/A maxDiff None setUp N/A N/A self N/A N/A N/A 
        We don't want to check in another .git dir into GH because that just gets messy.
        Instead, we'll create a temporary repo on the fly for the tests to examine.
         N/A N/A self integration_base_files N/A N/A N/A os path join N/A integration FILES file base N/A N/A self tmp_repo_dir N/A N/A N/A os path join N/A integration TMP gitfs_root N/A N/A N/A N/A N/A shutil copytree N/A self integration_base_files N/A N/A self tmp_repo_dir / N/A N/A N/A OSError N/A N/A N/A N/A N/A repo N/A N/A git Repo N/A self tmp_repo_dir N/A N/A N/A N/A N/A git exc InvalidGitRepositoryError N/A N/A repo N/A N/A N/A git Repo init N/A self tmp_repo_dir N/A N/A USERNAME N/A os environ N/A N/A N/A N/A N/A N/A os environ N/A USERNAME N/A N/A N/A pwd getpwuid N/A N/A os geteuid pw_name N/A N/A N/A AttributeError N/A N/A N/A N/A log error Unable to get effective username, falling back to 'root'. N/A N/A N/A os environ N/A USERNAME root N/A N/A N/A N/A repo index add N/A x N/A x N/A N/A os listdir N/A self tmp_repo_dir N/A x .git N/A N/A N/A N/A repo index commit Test N/A N/A N/A patch dict N/A gitfs __opts__ N/A cachedir gitfs_remotes sock_dir __role N/A N/A self master_opts N/A cachedir N/A N/A file:// N/A self tmp_repo_dir N/A N/A self master_opts N/A sock_dir N/A N/A self master_opts N/A __role N/A N/A N/A N/A gitfs update N/A tearDown N/A N/A self N/A N/A N/A 
        Remove the temporary git repository and gitfs cache directory to ensure
        a clean environment for each test.
         N/A N/A N/A shutil rmtree N/A self tmp_repo_dir N/A N/A N/A shutil rmtree N/A N/A N/A os path join N/A N/A self master_opts N/A cachedir gitfs N/A test_file_list N/A N/A self N/A N/A N/A N/A N/A patch dict N/A gitfs __opts__ N/A cachedir gitfs_remotes sock_dir __role N/A N/A self master_opts N/A cachedir N/A N/A file:// N/A self tmp_repo_dir N/A N/A self master_opts N/A sock_dir N/A N/A self master_opts N/A __role N/A N/A ret N/A N/A gitfs file_list LOAD N/A N/A N/A self assertIn testfile ret N/A test_dir_list N/A N/A self N/A N/A N/A N/A N/A patch dict N/A gitfs __opts__ N/A cachedir gitfs_remotes sock_dir __role N/A N/A self master_opts N/A cachedir N/A N/A file:// N/A self tmp_repo_dir N/A N/A self master_opts N/A sock_dir N/A N/A self master_opts N/A __role N/A N/A ret N/A N/A gitfs dir_list LOAD N/A N/A N/A self assertIn grail ret N/A test_envs N/A N/A self N/A N/A N/A N/A N/A patch dict N/A gitfs __opts__ N/A cachedir gitfs_remotes sock_dir __role N/A N/A self master_opts N/A cachedir N/A N/A file:// N/A self tmp_repo_dir N/A N/A self master_opts N/A sock_dir N/A N/A self master_opts N/A __role N/A N/A ret N/A N/A gitfs envs N/A N/A N/A self assertIn base ret N/A N/A N/A skipIf N/A GITFS_AVAILABLE GitFS could not be loaded. Skipping GitFS tests! N/A skipIf NO_MOCK NO_MOCK_REASON N/A N/A __name__ __main__ N/A N/A N/A N/A integration run_tests GitFSTest