diff --git a/program/tests/test_services.py b/program/tests/test_services.py index 835e7a1accd8d6ec222fc345b2864ea954db7c06..e38ad64c171adb9b7e662cb555355c8c3985d182 100644 --- a/program/tests/test_services.py +++ b/program/tests/test_services.py @@ -100,19 +100,19 @@ def test_generate_timeslots_once(once_schedule): def test_generate_timeslots_daily(daily_schedule): timeslots = generate_timeslots(daily_schedule) - assert len(timeslots) == 7 + assert len(timeslots) == 7 or 8 def test_generate_timeslots_weekly(weekly_schedule): timeslots = generate_timeslots(weekly_schedule) - assert len(timeslots) == 4 + assert len(timeslots) == 4 or 5 def test_generate_timeslots_business_days(business_days_schedule): timeslots = generate_timeslots(business_days_schedule) - assert len(timeslots) == 5 * 4 + assert len(timeslots) == 5 * 4 or 5 * 4 + 1 def test_generate_timeslots_weekends(weekends_schedule):