Re: problem with test client

2009-10-23 Thread Ralph
Thanks! That was the missing piece. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email t

Re: problem with test client

2009-10-23 Thread Daniel Roseman
On Oct 23, 4:16 pm, Ralph wrote: > I am using Django 1.1 with Python 2.6.1 and have a problem with > testing > views that require a login. I was hoping someone could enlighten me > were > it all goes wrong > > in the setup function of a unit test i am adding a user and create a > test client

problem with test client

2009-10-23 Thread Ralph
I am using Django 1.1 with Python 2.6.1 and have a problem with testing views that require a login. I was hoping someone could enlighten me were it all goes wrong in the setup function of a unit test i am adding a user and create a test client User.objects.create(username='myuser', password=