Re: TestClient assertFormError method.

2008-02-22 Thread Russell Keith-Magee
On Sat, Feb 23, 2008 at 9:43 AM, Ian Macdonald <[EMAIL PROTECTED]> wrote: > > If I separate the form out from the dictionary however, the test > works, so it appears that it's the secondary lookup that this > assertion cannot handle. Does anyone know if that's correct, and/or if > there's a

TestClient assertFormError method.

2008-02-22 Thread Ian Macdonald
I'm fairly new to Django, but seem to be getting the hang of it. I do have a small issue that's been bugging me a bit with the test client: I've been writing tests for a form on a small site using the TestClient. When I test for invalid data in the form I'm getting odd errors. The problem