          self.assertRaises(AttributeError, getattr, settings, 'TEST')
          with self.settings(TEST='override'):
              self.assertEqual(testvalue, 'override')
  
      @override_settings(TEST='override')
      def test_signal_callback_decorator(self):
          self.assertEqual(testvalue, 'override')
  
 
</s> remove     The new setting value.
 </s> add     The value of the setting after the change. For settings that initially
    don't exist, in the "teardown" phase, ``value`` is ``None``. </s> remove     Same as sender
 </s> add     The name of the setting. </s> remove Sent when some :ref:`settings are overridden <overriding-settings>` with the
 </s> add This signal is sent when the value of a setting is changed through the
        self.assertEqual(testvalue, None)
          self.assertRaises(AttributeError, getattr, settings, 'TEST')
          with self.settings(TEST='override'):
              self.assertEqual(testvalue, 'override')
        self.assertEqual(testvalue, None)
  
      @override_settings(TEST='override')
      def test_signal_callback_decorator(self):
          self.assertEqual(testvalue, 'override')
  
keep keep add keep keep keep keep keep
 Fixed #17895 -- Made override_settings send the setting_changed signal both when a setting is overridden and when it's restored.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@17708 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
tests/regressiontests/settings_tests/tests.py