Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: infra/tools/antibody/test/git_commit_parser_test.py

Issue 1235373004: Added script to generate stats on a git checkout (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@new_antibody_db_schema
Patch Set: Rebase Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « infra/tools/antibody/test/data/test_git_log.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: infra/tools/antibody/test/git_commit_parser_test.py
diff --git a/infra/tools/antibody/test/git_commit_parser_test.py b/infra/tools/antibody/test/git_commit_parser_test.py
index 7a37777951e333b9745efc78cf0dfa6b2806de5b..cd591d6672894a6479b06438f12666c0efde18a1 100644
--- a/infra/tools/antibody/test/git_commit_parser_test.py
+++ b/infra/tools/antibody/test/git_commit_parser_test.py
@@ -30,7 +30,9 @@ class TestGitCommitParser(unittest.TestCase):
self.assertEqual(git_commit_parser.get_features_for_git_commit(commit),
('df88fd603ca6a3831b4f2b21156a3e0d93e30095', None,
'2012-11-13 15:13:54',
- 'https://codereview.appspot.com/6846046/', None))
+ 'https://codereview.appspot.com/6846046/', None,
+ 'Add new index to make sure the CQ never ever get '
+ 'blocked again'))
def test_get_features_for_commit_people(self):
for commit in self.log:
@@ -38,9 +40,9 @@ class TestGitCommitParser(unittest.TestCase):
features = git_commit_parser.get_features_for_commit_people(commit)
comparable_features = [(x[0], x[1], None, x[3]) for x in features]
self.assertEqual(comparable_features,
- [('maruel@chromium.org',
+ [('maruel',
'df88fd603ca6a3831b4f2b21156a3e0d93e30095',
- None, 'author'), ('ilevy@chromium.org',
+ None, 'author'), ('ilevy',
'df88fd603ca6a3831b4f2b21156a3e0d93e30095', None,
'tbr')])
« no previous file with comments | « infra/tools/antibody/test/data/test_git_log.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698