Commit a016ce06 by Waheed Ahmed

Fix run boosting test.

relativedelta(year=1) calculating the wrong date value "1-01-04 13:43:42"
with singular argument.

LEARNER-3801
parent 13d80568
......@@ -177,7 +177,7 @@ class TestSearchBoosting:
six_months = relativedelta(months=6)
one_week = relativedelta(days=7)
two_weeks = relativedelta(days=14)
one_year = relativedelta(year=1)
one_year = relativedelta(years=1)
thirteen_months = relativedelta(months=13)
@pytest.mark.parametrize(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment