Module Expr Str ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias alias ImportFrom alias Expr Call NameLoad Str Import alias ImportFrom alias Assign NameStore Dict Str Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str For TupleStore NameStore NameStore TupleLoad TupleLoad Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Assign NameStore Call AttributeLoad Str attr NameLoad With Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword NameLoad body With Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword NameLoad body With Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad keyword NameLoad body Assign NameStore ListLoad NameLoad If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Str With Call AttributeLoad NameLoad attr NameLoad Dict NameLoad NameLoad body Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad keyword Call AttributeLoad NameLoad attr NameLoad decorator_list For TupleStore NameStore NameStore TupleLoad TupleLoad Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Assign NameStore Call AttributeLoad Str attr NameLoad For NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Assign NameStore Str Assign NameStore Call NameLoad NameLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad body Assign NameStore Str Assign NameStore Call NameLoad NameLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad body Assign NameStore Str Assign NameStore Call NameLoad NameLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad body Assign NameStore ListLoad NameLoad If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Str With Call AttributeLoad NameLoad attr NameLoad Dict NameLoad NameLoad body If BoolOpOr CompareEq NameLoad Str BoolOpAnd CompareNotEq NameLoad Str CompareNotEq NameLoad Str body Expr Call NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad Dict NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list decorator_list Call NameLoad NameLoad NameLoad If CompareEq NameLoad Str body ImportFrom alias Expr Call NameLoad NameLoad keyword NameLoad
N/A N/A 
These only test the provider selection and verification logic, they do not init
any remotes.
 __future__ absolute_import salttesting skipIf TestCase salttesting.mock MagicMock patch NO_MOCK NO_MOCK_REASON salttesting.helpers ensure_in_syspath N/A N/A ensure_in_syspath ../../ N/A salt.utils.gitfs salt.exceptions FileserverConfigError N/A OPTS N/A cachedir /tmp/gitfs-test-cache TestGitFSProvider N/A TestCase N/A test_provider_case_insensitive N/A N/A self N/A N/A N/A 
        Ensure that both lowercase and non-lowercase values are supported
         N/A provider GitPython N/A N/A role_name role_class N/A N/A gitfs N/A N/A N/A salt utils gitfs GitFS N/A git_pillar N/A N/A N/A salt utils gitfs GitPillar N/A winrepo N/A N/A N/A salt utils gitfs WinRepo N/A N/A key N/A N/A {0}_provider format role_name N/A N/A N/A patch object role_class verify_gitpython N/A MagicMock return_value True N/A N/A N/A N/A patch object role_class verify_pygit2 N/A MagicMock return_value False N/A N/A N/A N/A patch object role_class verify_dulwich N/A MagicMock return_value False N/A N/A args N/A OPTS N/A N/A role_name winrepo N/A N/A N/A N/A args append /tmp/winrepo-dir N/A N/A N/A patch dict OPTS N/A key provider N/A N/A N/A role_class args N/A N/A role_class args N/A test_valid_provider N/A N/A self N/A N/A N/A 
        Ensure that an invalid provider is not accepted, raising a
        FileserverConfigError.
         _get_mock N/A N/A verify provider N/A N/A N/A 
            Return a MagicMock with the desired return value
             N/A N/A MagicMock return_value N/A N/A verify endswith provider N/A N/A N/A role_name role_class N/A N/A gitfs N/A N/A N/A salt utils gitfs GitFS N/A git_pillar N/A N/A N/A salt utils gitfs GitPillar N/A winrepo N/A N/A N/A salt utils gitfs WinRepo N/A N/A key N/A N/A {0}_provider format role_name N/A provider N/A N/A N/A salt utils gitfs VALID_PROVIDERS N/A N/A verify verify_gitpython N/A mock1 N/A _get_mock verify provider N/A N/A N/A patch object role_class verify mock1 N/A N/A verify verify_pygit2 N/A mock2 N/A _get_mock verify provider N/A N/A N/A patch object role_class verify mock2 N/A N/A verify verify_dulwich N/A mock3 N/A _get_mock verify provider N/A N/A N/A patch object role_class verify mock3 N/A N/A args N/A OPTS N/A N/A role_name winrepo N/A N/A N/A N/A args append /tmp/winrepo-dir N/A N/A N/A patch dict OPTS N/A key provider N/A N/A N/A N/A role_name gitfs N/A N/A role_name gitfs N/A provider dulwich N/A N/A N/A role_class args N/A N/A N/A N/A self assertRaises FileserverConfigError role_class args N/A N/A N/A patch dict OPTS N/A key foo N/A N/A N/A N/A self assertRaises FileserverConfigError role_class args N/A N/A N/A skipIf NO_MOCK NO_MOCK_REASON N/A N/A __name__ __main__ N/A integration run_tests N/A N/A run_tests TestGitFSProvider needs_daemon False