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