We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f6b8bf commit 55885e0Copy full SHA for 55885e0
git/test/test_repo.py
@@ -269,6 +269,15 @@ def test_should_display_blame_information(self, git):
269
assert_true( isinstance( tlist[0], basestring ) )
270
assert_true( len( tlist ) < sum( len(t) for t in tlist ) ) # test for single-char bug
271
272
+ def test_blame_real(self):
273
+ c = 0
274
+ for item in self.rorepo.head.commit.tree.traverse(
275
+ predicate=lambda i, d: i.type == 'blob' and i.path.endswith('.py')):
276
+ c += 1
277
+ b = self.rorepo.blame(self.rorepo.head, item.path)
278
+ #END for each item to traverse
279
+ assert b
280
+
281
def test_untracked_files(self):
282
base = self.rorepo.working_tree_dir
283
files = ( join_path_native(base, "__test_myfile"),
0 commit comments