mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
ef110baa99
Python 3 didn't like some of the stuff that we were doing with ``subprocess.check_call()`` in these tests, so to fix this I have redone that stuff with calls to functions in the git execution module. In order to avoid problems with running tests with no global gitconfig, I needed to add an argument called ``git_opts`` to most of the funcs in the git execution module (well I didn't *need* to do it to most of the funcs, it just seemed like we shouldn't only be supporting this argument in a single function). This new ``git_opts`` argument is specifically for passing arguments to the git command itself (not the subcommand). For example, ``git -c user.name="Foo Bar" commit .....`` is different than running ``git commit -c user.name="Foo Bar" .....``, because the ``commit`` subcommand for git also accepts ``-c``. |
||
---|---|---|
.. | ||
__init__.py | ||
test_alternatives.py | ||
test_archive.py | ||
test_boto_sns.py | ||
test_bower.py | ||
test_cmd.py | ||
test_compiler.py | ||
test_file.py | ||
test_git.py | ||
test_handle_error.py | ||
test_handle_iorder.py | ||
test_host.py | ||
test_keystone.py | ||
test_match.py | ||
test_mysql.py | ||
test_network.py | ||
test_npm.py | ||
test_pip.py | ||
test_pkg.py | ||
test_pkgrepo.py | ||
test_rabbitmq_user.py | ||
test_rabbitmq_vhost.py | ||
test_renderers.py | ||
test_service.py | ||
test_ssh.py | ||
test_supervisord.py | ||
test_svn.py | ||
test_user.py | ||
test_virtualenv.py |