We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a038a8a commit b6b7306Copy full SHA for b6b7306
tests/test_wasting.py
@@ -779,7 +779,7 @@ def test_nat_hist_cure_if_death_scheduled(tmpdir):
779
# since there is zero recovery rate, check death event is scheduled
780
assert isinstance(sim.find_events_for_person(person_id)[1][1], SevereAcuteMalnutritionDeathEvent)
781
782
- # Run Severe Acute Malnutrition Death Event scheduled for this person:
+ # Check a date of death is scheduled. it should be any date in the future:
783
death_event_tuple = [event_tuple for event_tuple in sim.find_events_for_person(person_id)
784
if isinstance(event_tuple[1], SevereAcuteMalnutritionDeathEvent)][0]
785
date_of_scheduled_death = death_event_tuple[0]
0 commit comments