diff options
Diffstat (limited to 'git/test/test_docs.py')
-rw-r--r-- | git/test/test_docs.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/git/test/test_docs.py b/git/test/test_docs.py index 586f0ce4..965d10fb 100644 --- a/git/test/test_docs.py +++ b/git/test/test_docs.py @@ -437,6 +437,15 @@ class Tutorials(TestBase): git.for_each_ref() # '-' becomes '_' when calling it # ![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): + # 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 :) + repo.remotes.origin.fetch + # ![32-test_references_and_objects] + def test_submodules(self): # [1-test_submodules] repo = self.rorepo |