From 942911ffebfef8a87aaa121cf959a4b69488edd4 Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Wed, 1 May 2024 15:07:56 -0500 Subject: [PATCH] Update test_config_image.py --- tests/test_config_image.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/test_config_image.py b/tests/test_config_image.py index 12ace3d12a..5045846c09 100644 --- a/tests/test_config_image.py +++ b/tests/test_config_image.py @@ -58,6 +58,12 @@ def test_single(): assert logger_wrapper.isEnabledFor(logging.CRITICAL) assert not logger_wrapper.isEnabledFor(logging.DEBUG) + # smoke test for critical calls + # these are not normally used by galsim so a test here is needed + logger_wrapper.critical("blah blah") + none_logger_wrapper = galsim.config.LoggerWrapper(None) + none_logger_wrapper.critical("blah blah") + im1_list = [] nimages = 6 first_seed = galsim.BaseDeviate(1234).raw()