* Make python3 and python26 happy
* Don't need both ways of nesting with statements
* No longer need pylint disable
* Lint fix
* take out the correct import
* Add debug logging to legacy git_pillar tests
This is to aid in troubleshooting some failures on the branch builds
* Reverse monkey-patching after test completes
* Fix misspelling in git_pillar unit tests
* Ensure 2nd repo is updated
* Add logging for legacy git_pillar checkout func
* Explicitly set hash_type in opts for git_pillar tests
* Do not use dict.get() to get hash_type
This code is a relic from before we set a default value for this in
salt.config. There is no expectation that this value will be unset, so
there is no need to use dict.get() here.
- The previous implementation was limited to the 15 char limit for "Computernames" which would cause the state to always fail if the hostname was longer
* Don't test for linux shells on Windows
* Don't force windows to be false
Salt didn't used to support runas on Windows.
Salt now supports runas on Windows. This line was causing the wrong code
paths to be followed.
* Skip test on windows because no VT on windows
* add missing closing paren
* Revert "Don't use six.text_type() in salt.utils.gitfs"
This reverts commit d76659a63a.
* salt.utils.path_join: handle mixed unicode/binary-unicode paths
* Add test for mixed unicode and binary-unicode paths
* salt.utils.gitfs: replace os.path.join with salt.utils.path_join
- added optional traversal_spec parameter to both methods, allowing the
user to specify a different TraversalSpec object to search for content
(if not specified, the behaviour is that all a traverse all search is
done)
- the traversal_spec is destroyed only if is created in the method
- added local_properties flag to both methods allowing the retrieval of
properties of the container object
- added tests for the 2 functions