summaryrefslogtreecommitdiff
path: root/git/test/test_docs.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/test/test_docs.py')
-rw-r--r--git/test/test_docs.py4
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 :)