Пример #1
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, [])
Пример #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, [])
Пример #3
0
 def test_blamelist_for_patch(self):
     r = FakeRequest()
     r.sources.extend([self.patchSource])
     build = Build([r])
     blamelist = build.blamelist()
     self.assertEqual(blamelist, ['jeff'])
Пример #4
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'])
Пример #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'])
Пример #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'])