Skip to content

Commit

Permalink
FIX: private method test case
Browse files Browse the repository at this point in the history
  • Loading branch information
martins0n committed Apr 18, 2022
1 parent 1fb0b16 commit 596f4b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_pipeline/test_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ def test_run_fold(ts_run_fold: TSDataset, mask: FoldMask, expected: Dict[str, Li
)

pipeline = Pipeline(model=NaiveModel(lag=5), transforms=[], horizon=4)
fold = pipeline._run_fold(train, test, 1, mask, [MAE()])
fold = pipeline._run_fold(train, test, 1, mask, [MAE()], forecast_params=dict())
for seg in fold["metrics"]["MAE"].keys():
assert fold["metrics"]["MAE"][seg] == expected[seg]

Expand Down

0 comments on commit 596f4b5

Please sign in to comment.