diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2015-01-22 19:04:57 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2015-01-22 19:04:57 +0100 |
commit | 4df4159413a4bf30a891f21cd69202e8746c8fea (patch) | |
tree | e44615e5382204ad60ba2eaa9e90b6021b270a2a /git/test/test_docs.py | |
parent | f3d91ca75500285d19c6ae2d4bf018452ad822a6 (diff) | |
download | gitpython-4df4159413a4bf30a891f21cd69202e8746c8fea.tar.gz |
Removed Git.sshkey() as it couldn't be distributed properly.0.3.6
However, I kept information on how to achieve the same thing with
`custom_environment()` in the test.
Related to #234
Diffstat (limited to 'git/test/test_docs.py')
-rw-r--r-- | git/test/test_docs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git/test/test_docs.py b/git/test/test_docs.py index 175e728a..8dfef1c6 100644 --- a/git/test/test_docs.py +++ b/git/test/test_docs.py @@ -438,8 +438,8 @@ class Tutorials(TestBase): # ![31-test_references_and_objects] # [32-test_references_and_objects] - private_key_file = os.path.join(rw_dir, 'id_rsa_deployment_key') - with repo.git.sshkey(private_key_file): + ssh_executable = os.path.join(rw_dir, 'my_ssh_executable.sh') + with repo.git.custom_environment(GIT_SSH=ssh_executable): # Note that we don't actually make the call here, as our test-setup doesn't permit it to # succeed. # It will in your case :) |