def test_no_patch_if_no_mail_admins_handler(self):
        config = copy.deepcopy(OLD_LOGGING)
        config["handlers"].pop("mail_admins")
        new_config = copy.deepcopy(config)
        compat_patch_logging_config(new_config)

        self.assertEqual(config, new_config)
Test that the logging configuration is not modified if the mail_admins
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/tests/regressiontests/logging_tests/tests.py/PatchLoggingConfigTest.test_no_patch_if_no_mail_admins_handler