Exemplo 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)
Exemplo n.º 2
0
 def test_commits_output_for_one_month(self):
     self.assertTrue(len(CommitsOutput.since('1 month')))
Exemplo n.º 3
0
 def test_commits_output_is_empty(self):
     self.assertEquals(CommitsOutput.since('0 week'), [])
Exemplo 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)
Exemplo n.º 5
0
 def test_commits_output_for_one_month(self):
     self.assertTrue(len(CommitsOutput.since('1 month')))
Exemplo n.º 6
0
 def test_commits_output_is_empty(self):
     self.assertEquals(CommitsOutput.since('0 week'), [])