Esempio n. 1
0
 def test_commits_output_interval(self):
     self.assertEquals(len(CommitsOutput.since("2011-07-20T00:00:00",
         until="2011-08-09T00:00:00")), 12)
Esempio n. 2
0
 def test_commits_output_for_one_month(self):
     self.assertTrue(len(CommitsOutput.since('1 month')))
Esempio n. 3
0
 def test_commits_output_is_empty(self):
     self.assertEquals(CommitsOutput.since('0 week'), [])
Esempio n. 4
0
 def test_commits_output_interval(self):
     self.assertEquals(
         len(
             CommitsOutput.since("2011-07-20T00:00:00",
                                 until="2011-08-09T00:00:00")), 12)
Esempio n. 5
0
 def test_commits_output_for_one_month(self):
     self.assertTrue(len(CommitsOutput.since('1 month')))
Esempio n. 6
0
 def test_commits_output_is_empty(self):
     self.assertEquals(CommitsOutput.since('0 week'), [])