diff options
author | Sebastian Thiel <sebastian.thiel@icloud.com> | 2020-04-11 15:19:10 +0800 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2020-04-11 15:19:10 +0800 |
commit | 890fd8f03ae56e39f7dc26471337f97e9ccc4749 (patch) | |
tree | 499abb151950c1fd85cff4562b98c61618f6c748 /git | |
parent | 07f6f2aaa5bda8ca4c82ee740de156497bec1f56 (diff) | |
download | gitpython-890fd8f03ae56e39f7dc26471337f97e9ccc4749.tar.gz |
Now it should really start working - go, doctests, go!
Diffstat (limited to 'git')
-rw-r--r-- | git/test/test_docs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/test/test_docs.py b/git/test/test_docs.py index a7e656c2..2e4f1dbf 100644 --- a/git/test/test_docs.py +++ b/git/test/test_docs.py @@ -323,7 +323,7 @@ class Tutorials(TestBase): blob = tree.trees[1].blobs[0] # let's get a blob in a sub-tree assert blob.name assert len(blob.path) < len(blob.abspath) - self.assertEqual(tree.trees[0].name + '/' + blob.name, blob.path) # this is how relative blob path generated + self.assertEqual(tree.trees[1].name + '/' + blob.name, blob.path) # this is how relative blob path generated self.assertEqual(tree[blob.path], blob) # you can use paths like 'dir/file' in tree # ![19-test_references_and_objects] |