diff --git a/coverage.xml b/coverage.xml index 24f7048..1fcd95d 100644 --- a/coverage.xml +++ b/coverage.xml @@ -1,12 +1,12 @@ - + /home/jvivian/covid19-drDFM/covid19_drdfm - + @@ -47,7 +47,7 @@ - + @@ -89,10 +89,10 @@ - - - - + + + + diff --git a/tests/test_dfm.py b/tests/test_dfm.py index c4babe0..e6d21cc 100644 --- a/tests/test_dfm.py +++ b/tests/test_dfm.py @@ -44,7 +44,7 @@ def test_run_model_global_0(): shutil.rmtree("./testdir") -@pytest.mark.skip(reason="State no longer failing") +# @pytest.mark.skip(reason="State no longer failing") def test_run_failure(): """ Test the run_parameterized_model function for a state with known failure conditions @@ -57,7 +57,8 @@ def test_run_failure(): None """ df = get_df() - state = "OR" + df = df[df.Time > "2019-01-01"] + state = "PA" run_parameterized_model(df, state, Path("./testdir"), global_multiplier=2) assert Path("./testdir/failed.txt").exists() shutil.rmtree("./testdir")