Skip to content

Commit

Permalink
Fixing failing test for logging configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
DhruvSondhi committed Jun 18, 2021
1 parent 2ee9e93 commit cafd781
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tardis/simulation/tests/test_simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ def test_logging_config(atomic_data_fname, caplog, log_state, specific):
"ERROR": logging.ERROR,
"CRITICAL": logging.CRITICAL,
}
caplog.clear()
run_tardis(config=config, log_state=log_state, specific=specific)
for record in caplog.records:
if specific == True:
Expand Down Expand Up @@ -257,6 +258,7 @@ def test_logging_config_yaml(atomic_data_fname, caplog, log_state, specific):
"ERROR": logging.ERROR,
"CRITICAL": logging.CRITICAL,
}
caplog.clear()
run_tardis(config=config)
for record in caplog.records:
if specific == True:
Expand Down

0 comments on commit cafd781

Please sign in to comment.