From f60b62dd2b74f28bf8b8385d561f7229cbee51a8 Mon Sep 17 00:00:00 2001 From: Emily Przykucki Date: Wed, 18 Dec 2024 16:50:44 -0500 Subject: [PATCH] Update `test_seir.py` --- flepimop/gempyor_pkg/tests/seir/test_seir.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/flepimop/gempyor_pkg/tests/seir/test_seir.py b/flepimop/gempyor_pkg/tests/seir/test_seir.py index 9e4aa5cc2..4c3030e7a 100644 --- a/flepimop/gempyor_pkg/tests/seir/test_seir.py +++ b/flepimop/gempyor_pkg/tests/seir/test_seir.py @@ -18,14 +18,15 @@ os.chdir(os.path.dirname(__file__)) def test_neg_params(): + + config.set_file(f"{DATA_DIR}/config.yml") modinf = model_info.ModelInfo( config=config, nslots=1, seir_modifiers_scenario="None", write_csv=False, ) - - modinf = model_info.ModelInfo() + parameter_names = modinf.parameters.pnames dates = modinf.dates subpop_names = modinf.subpop_pop @@ -56,6 +57,7 @@ def test_neg_params(): def test_check_values(): + # I think line 61 could be deleted...redundant b/c this also occurs outside func def os.chdir(os.path.dirname(__file__)) config.set_file(f"{DATA_DIR}/config.yml")