コード例 #1
0
ファイル: test_helpers.py プロジェクト: lm-tools/situational
 def test_number_of_months_different_months(self):
     months = helpers.number_of_months(11, 2012, 3, 2015)
     self.assertEquals(months, 28)
コード例 #2
0
ファイル: test_helpers.py プロジェクト: lm-tools/situational
 def test_number_of_months_same_months(self):
     months = helpers.number_of_months(11, 2014, 11, 2014)
     self.assertEquals(months, 1)