Skip to content

Commit 9727a63

Browse files
committedMay 27, 2020
Fix test_zero_quarantine
Edge case of someone being asked to quarantine after having left hospital after a very short day (hospital stay shorter then test turn around) Leave model behaviour to still ask them to quarantine, but fix test by making tests instantaneous
1 parent 3b3f59b commit 9727a63

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎tests/test_ibm.py

100755100644
+2
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,8 @@ def test_zero_quarantine(self):
191191
Test there are no individuals quarantined if all quarantine parameters are "turned off"
192192
"""
193193
params = ParameterSet(constant.TEST_DATA_FILE, line_number = 1)
194+
params.set_param("test_order_wait",0)
195+
params.set_param("test_result_wait",0)
194196
params = utils.turn_off_quarantine(params)
195197
params.write_params(constant.TEST_DATA_FILE)
196198

0 commit comments

Comments
 (0)