diff --git a/flepimop/gempyor_pkg/tests/npi/test_SinglePeriodModifier.py b/flepimop/gempyor_pkg/tests/npi/test_SinglePeriodModifier.py index 704949cfb..d8e029f7f 100644 --- a/flepimop/gempyor_pkg/tests/npi/test_SinglePeriodModifier.py +++ b/flepimop/gempyor_pkg/tests/npi/test_SinglePeriodModifier.py @@ -30,7 +30,8 @@ def test_SinglePeriodModifier_success(self): test = NPI.SinglePeriodModifier( npi_config=s.npi_config_seir, - modinf=s, + modinf_ti=s.ti, + modinf_tf=s.tf, modifiers_library="", subpops=s.subpop_struct.subpop_names, loaded_df=None, @@ -38,7 +39,7 @@ def test_SinglePeriodModifier_success(self): """ test2 = NPI.SinglePeriodModifier( npi_config=s.npi_config_seir, - modinf=s, + modinf_ti=s.ti, modinf_tf=s.tf, modifiers_library="", subpops=s.subpop_struct.subpop_names, loaded_df=test.parameters, @@ -64,7 +65,8 @@ def test_SinglePeriodModifier_start_date_fail(self): test = NPI.SinglePeriodModifier( npi_config=s.npi_config_seir, - modinf=s, + modinf_ti=s.ti, + modinf_tf=s.tf, modifiers_library="", subpops=s.subpop_struct.subpop_names, loaded_df=None, @@ -89,7 +91,8 @@ def test_SinglePeriodModifier_end_date_fail(self): test = NPI.SinglePeriodModifier( npi_config=s.npi_config_seir, - modinf=s, + modinf_ti=s.ti, + modinf_tf=s.tf, modifiers_library="", subpops=s.subpop_struct.subpop_names, loaded_df=None, @@ -110,7 +113,8 @@ def test_SinglePeriodModifier_checkerrors(self): test = NPI.SinglePeriodModifier( npi_config=s.npi_config_seir, - modinf=s, + modinf_ti=s.ti, + modinf_tf=s.tf, modifiers_library="", subpops=s.subpop_struct.subpop_names, loaded_df=None,