Reword the comments in the test suite

Each comment is one sentence or two short ones
joined by "=>", without a final period.
This commit is contained in:
Alexander Hess 2026-12-03 10:52:09 +01:00
commit bca4250b4d
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -298,13 +298,11 @@ class TestConstraints:
Scheduled orders must be at least 30 minutes into the future.
"""
# Create an ad-hoc order first and then make that a scheduled order.
# This way, it is less work to keep the timestamps consistent.
# Turning an ad-hoc order into a scheduled one keeps the timestamps consistent
replay_pre_order = make_replay_order(scheduled=False)
# Make the `scheduled_delivery_at` the quarter of an hour
# following the next quarter of an hour (i.e., the timestamp
# is between 15 and 30 minutes into the future)
# Schedule the delivery at the quarter of an hour after the next one
# => It is 15 to 30 minutes into the future
replay_pre_order.ad_hoc = False
replay_pre_order.actual.ad_hoc = False
minutes_to_next_quarter = 15 - (replay_pre_order.placed_at.minute % 15)