Localflavor Test Case issues

15 views
Skip to first unread message

James Rivett-Carnac

unread,
May 18, 2012, 2:03:01 AM5/18/12
to django-d...@googlegroups.com
Hey,

I'm trying to add localflavor for Singapore, and am running into issues getting my test cases to pass.

When manually validate my test cases by running the validators from the django-admin shell, they pass all my test cases.  But when I run my test cases from the test runner, I get:

AssertionError: ValidationError not raised

and the test case test_postcode seems to be adding another invalid test, None:[u'This field is required.'], but I might be confused by this.

Any help in what I'm doing wrong would be appreciated.

My code is at 
g...@github.com:yarbelk/django.git
Reply all
Reply to author
Forward
0 new messages