Ticket #16507: out.patch

File out.patch, 1.0 KB (added by Andy McKay, 13 years ago)
  • django/contrib/messages/tests/base.py

    old new  
    5353           settings.TEMPLATE_CONTEXT_PROCESSORS
    5454        self._installed_apps = settings.INSTALLED_APPS
    5555        self._message_storage = settings.MESSAGE_STORAGE
    56         self._propagate = settings.DEBUG_PROPAGATE_EXCEPTIONS
    57         settings.DEBUG_PROPAGATE_EXCEPTIONS = True
    5856        settings.MESSAGE_STORAGE = '%s.%s' % (self.storage_class.__module__,
    5957                                              self.storage_class.__name__)
    6058        self.old_TEMPLATE_DIRS = settings.TEMPLATE_DIRS
     
    7068        settings.INSTALLED_APPS = self._installed_apps
    7169        settings.MESSAGE_STORAGE = self._message_storage
    7270        settings.TEMPLATE_DIRS = self.old_TEMPLATE_DIRS
    73         settings.DEBUG_PROPAGATE_EXCEPTIONS = self._propagate
    7471
    7572    def restore_setting(self, setting):
    7673        if setting in self._remembered_settings:
Back to Top