On Wed, Nov 4, 2009 at 6:23 PM, Andi Albrecht <albrecht.a...@googlemail.com> wrote: > > This just came up on IRC: in django.test.utils > setup_test_environment() the lines 46/47 are mixed up. > > Here's a diff that fixes this issue: > > diff --git a/django/test/utils.py b/django/test/utils.py > index a30bb7e..9d39eee 100644 > --- a/django/test/utils.py > +++ b/django/test/utils.py > @@ -43,8 +43,8 @@ def setup_test_environment(): > mail.original_SMTPConnection = mail.SMTPConnection > mail.SMTPConnection = locmem.EmailBackend > > - settings.EMAIL_BACKEND = 'django.core.mail.backends.locmem' > mail.original_email_backend = settings.EMAIL_BACKEND > + settings.EMAIL_BACKEND = 'django.core.mail.backends.locmem' > > mail.outbox = [] > > Sorry for pasting it here, but it's really just one line :)
No problems. Fixed in r11718. Yours, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---