示例#1
0
文件: test.py 项目: parkjsung/spotify
 def test_example2(self):
     self.assertEqual("31/9/73 is illegal", bestbefore.bestbefore("31/9/73"))
示例#2
0
文件: test.py 项目: parkjsung/spotify
 def test_invalidLeapYear(self):
     self.assertEqual("02/29/2011 is illegal", bestbefore.bestbefore("02/29/2011"))
示例#3
0
文件: test.py 项目: parkjsung/spotify
 def test_example1(self):
     self.assertEqual("2067-02-04", bestbefore.bestbefore("02/4/67"))
示例#4
0
文件: test.py 项目: parkjsung/spotify
 def test_validLeapYear(self):
     self.assertEqual("2012-02-29", bestbefore.bestbefore("02/29/2012"))