Skip to content

Commit

Permalink
Update test_config_image.py
Browse files Browse the repository at this point in the history
  • Loading branch information
beckermr authored and rmjarvis committed May 16, 2024
1 parent f16131a commit 942911f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_config_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 942911f

Please sign in to comment.