Skip to content

Commit 51dd0dd

Browse files
authored
typo in test_errors.py title test
1 parent a6b9ebd commit 51dd0dd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/operators/forecast/test_errors.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -900,11 +900,12 @@ def test_report_title(operator_setup, model):
900900
yaml_i["spec"]["historical_data"]["data"] = df
901901
operator_config = ForecastOperatorConfig.from_dict(yaml_i)
902902
results = operate(operator_config)
903+
title_found = False
903904
with open(os.path.join(operator_setup, "report.html")) as f:
904905
for line in f:
905906
if "Skibidi ADS Skibidi" in line:
906-
return True
907-
assert False, "Report Title was not set"
907+
title_found = True
908+
assert title_found, "Report Title was not set"
908909

909910

910911
@pytest.mark.parametrize("model", ["prophet"])

0 commit comments

Comments
 (0)