Abri confirmed time at or after midday books the afternoon slot 🟩

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Daniel Roth 2026-07-03 14:32:49 +00:00
parent cd29cbb0b8
commit eccc03f9f2

View file

@ -25,3 +25,14 @@ def test_a_confirmed_time_before_midday_books_the_morning_slot(
# Assert
assert slot == "AM"
@pytest.mark.parametrize("confirmed_time", ["12:00", "13:15", "16:59"])
def test_a_confirmed_time_at_or_after_midday_books_the_afternoon_slot(
confirmed_time: str,
) -> None:
# Act
slot = slot_for_confirmed_time(confirmed_time)
# Assert
assert slot == "PM"