Friday, May 28, 2010

Re: contrib.auth test failures persist to 1.2

Yes, it seems the fault is on my side (not directly, not my code :-)). Thanks a lot.

On May 19, 2010 3:54 PM, "Karen Tracey" <kmtracey@gmail.com> wrote:

2010/5/19 Filip Gruszczyński <gruszczy@gmail.com>


>
> I have just installed Django 1.2 hoping, that my test suites will
> finally work flawlessly and...

If you create a new Django project & app, include admin and auth in INSTALLED_APPS, and run the tests, they pass. I'm aware of some issues with built-in auth and/or admin tests failing depending on specific project settings, see for example: http://code.djangoproject.com/ticket/11077. That ticket references discussions on django-dev covering the broader (still open) issue of integration testing versus application testing. It's possible that broader issue is what you are running into here.

However, so far as I can tell I have never seen a report of these auth remote_user tests failing before. I can find no mention of such failures in trac nor in my mail archive of django-users. So I have no idea if this is an integration/application test issue or something else. The first things to figure out would be what's different about your project compared to a newly-created one that is leading to these tests failing. You have not given any specifics about your project so I'm not really sure what might be causing these failures.

Karen
--
http://tracey.org/kmt/

--
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 to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

--
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 to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment