def test_tomorrow(self): tomorrow = today + one_day result = strtodatetime('tomorrow') eq_(tomorrow.strftime('%Y%m%d'), result.strftime('%Y%m%d'))
def test_today(self): result = strtodatetime('today') eq_(today.strftime('%Y%m%d'), result.strftime('%Y%m%d'))