Skip to content

Commit

Permalink
fix npi test
Browse files Browse the repository at this point in the history
  • Loading branch information
pearsonca committed Nov 13, 2024
1 parent dd9c00f commit 1bf2f16
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions flepimop/gempyor_pkg/tests/npi/test_SinglePeriodModifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,16 @@ 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,
)
"""
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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 1bf2f16

Please sign in to comment.