Skip to content

Commit

Permalink
Now it should really start working - go, doctests, go!
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Apr 11, 2020
1 parent 07f6f2a commit 890fd8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git/test/test_docs.py
Expand Up @@ -323,7 +323,7 @@ def test_references_and_objects(self, rw_dir):
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]

Expand Down

0 comments on commit 890fd8f

Please sign in to comment.