Author: ianb
Date: 2008-11-15 14:03:27 -0700 (Sat, 15 Nov 2008)
New Revision: 3667
Modified:
FormEncode/trunk/tests/test_validators.py
Log:
fix bad month style
Modified: FormEncode/trunk/tests/test_validators.py
===================================================================
--- FormEncode/trunk/tests/test_validators.py 2008-11-15 20:57:10 UTC (rev
3666)
+++ FormEncode/trunk/tests/test_validators.py 2008-11-15 21:03:27 UTC (rev
3667)
@@ -91,13 +91,13 @@
assert validate(iv, "15") == messages('tooHigh', None, max=10)
def test_month_style():
- date = DateConverter(month_style='dd/mm/yyy')
+ date = DateConverter(month_style='dd/mm/yyyy')
d = datetime.date(2007,12,20)
assert date.to_python('20/12/2007') == d
assert date.from_python(d) == '20/12/2007'
def test_date():
- date = DateConverter(month_style='dd/mm/yyy')
+ date = DateConverter(month_style='dd/mm/yyyy')
try:
date.to_python('20/12/150')
except Invalid, e:
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
FormEncode-CVS mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/formencode-cvs