def test_filter_configuration(self):
        config = copy.deepcopy(OLD_LOGGING)
        with warnings.catch_warnings(record=True):
            compat_patch_logging_config(config)

        flt = config["filters"]["require_debug_false"]
        self.assertEqual(flt["()"], "django.utils.log.RequireDebugFalse")
Test that the auto-added require_debug_false filter is an instance of
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/tests/regressiontests/logging_tests/tests.py/PatchLoggingConfigTest.test_filter_configuration