Re: TestCase: Client Login always false

2008-04-03 Thread Tony
Ah sweet, thanks DR. It doesn't tell you that in the documentation, but I guess thats the reason for loading fixtures. On 3 Apr, 10:19, Daniel Roseman <[EMAIL PROTECTED]> wrote: > Tony wrote: > > Hi > > > I have tried numerous ways to login through client() but it keeps > > returning false. > >

Re: TestCase: Client Login always false

2008-04-03 Thread Daniel Roseman
Tony wrote: > Hi > > I have tried numerous ways to login through client() but it keeps > returning false. > I have tested it in the shell and it works fine and returns > login=true. > But in my tests.py file, it keeps failing the test because it keeps > returning login=false. > > Here is my script

TestCase: Client Login always false

2008-04-03 Thread Tony
Hi I have tried numerous ways to login through client() but it keeps returning false. I have tested it in the shell and it works fine and returns login=true. But in my tests.py file, it keeps failing the test because it keeps returning login=false. Here is my script: """ from django.test import