コード例 #1
0
 def test_number_of_commits(self):
     commits = get_commits(self.data)
     self.assertEqual(422, len(commits))
     self.assertEqual('Thomas', commits[0]['author'])
     self.assertEqual('Jimmy', commits[420]['author'])
     self.assertEqual([
         'FTRPC-500: Frontier Android || Inconsistencey in My Activity screen',
         'Client used systemAttribute name="Creation-Date" instead of versionCreated as version created.'
     ], commits[24]['comment'])
     self.assertEqual([
         'M /cloud/personal/client-international/android/branches/android-15.2-solutions/libs/model/src/com/biscay/client/android/model/util/sync/dv/SyncAdapter.java'
     ], commits[20]['changed_path'])
コード例 #2
0
 def test_number_of_commits(self):
     commits = get_commits(self.data)
     self.assertEqual(422, len(commits))
     self.assertEqual('Thomas', commits[0]['author'])
     self.assertEqual('Jimmy', commits[420]['author'])