コード例 #1
0
ファイル: test_date.py プロジェクト: Lothiraldan/testfixtures
 def test_something():
     compare(sample1.str_today_1(),'2001-01-01')
コード例 #2
0
ファイル: test_date.py プロジェクト: Lothiraldan/testfixtures
 def test_something():
     from datetime import date
     compare(date.today(),d(2001,1,1))
     compare(sample1.str_today_1(),'2001-01-02')