Lines Matching refs:reviewer
30 from webkitpy.common.config.committers import CommitterList, Committer, Reviewer
36 reviewer = Reviewer('Test Two', ['two@test.com', 'two@rad.com', 'so_two@gmail.com'])
37 committer_list = CommitterList(committers=[committer], reviewers=[reviewer])
39 # Test valid committer and reviewer lookup
41 self.assertEqual(committer_list.reviewer_by_email('two@test.com'), reviewer)
42 self.assertEqual(committer_list.committer_by_email('two@test.com'), reviewer)
43 self.assertEqual(committer_list.committer_by_email('two@rad.com'), reviewer)
44 self.assertEqual(committer_list.reviewer_by_email('so_two@gmail.com'), reviewer)
46 # Test valid committer and reviewer lookup
48 self.assertEqual(committer_list.committer_by_name("Test Two"), reviewer)
54 # Test that a known committer is not returned during reviewer lookup
57 # Test that unknown email address fail both committer and reviewer lookup
67 self.assertEqual(committer_list.committers(), [committer, reviewer])
68 self.assertEqual(committer_list.reviewers(), [reviewer])