def test_blamelist_for_patch(self):
     r = FakeRequest()
     r.sources.extend([self.patchSource])
     build = Build([r])
     blamelist = build.blamelist()
     # If no patch is set, author will not be est
     self.assertEqual(blamelist, [])
Exemple #2
0
 def test_blamelist_for_patch(self):
     r = FakeRequest()
     r.sources.extend([self.patchSource])
     build = Build([r])
     blamelist = build.blamelist()
     # If no patch is set, author will not be est
     self.assertEqual(blamelist, [])
 def test_blamelist_for_patch(self):
     r = FakeRequest()
     r.sources.extend([self.patchSource])
     build = Build([r])
     blamelist = build.blamelist()
     self.assertEqual(blamelist, ['jeff'])
 def test_blamelist_for_changes(self):
     r = FakeRequest()
     r.sources.extend([self.sourceByMe, self.sourceByHim])
     build = Build([r])
     blamelist = build.blamelist()
     self.assertEqual(blamelist, ['him', 'me'])
Exemple #5
0
 def test_blamelist_for_patch(self):
     r = FakeRequest()
     r.sources.extend([self.patchSource])
     build = Build([r])
     blamelist = build.blamelist()
     self.assertEqual(blamelist, ['jeff'])
Exemple #6
0
 def test_blamelist_for_changes(self):
     r = FakeRequest()
     r.sources.extend([self.sourceByMe, self.sourceByHim])
     build = Build([r])
     blamelist = build.blamelist()
     self.assertEqual(blamelist, ['him', 'me'])