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

@ -72,8 +72,8 @@ class AdHocOrderFactory(alchemy.SQLAlchemyModelFactory):
id = factory.Sequence(lambda num: num)
# customer -> set by the `make_order` fixture for better control
# Attributes regarding the specialization of an `Order`: ad-hoc or scheduled.
# Ad-hoc `Order`s are placed between 11.45 and 14.15.
# Attributes regarding the specialization of an `Order`: ad-hoc or scheduled
# Ad-hoc `Order`s are placed between 11.45 and 14.15
placed_at = factory.LazyFunction(
lambda: (
dt.datetime(*test_config.DATE, 11, 45)
@ -88,8 +88,8 @@ class AdHocOrderFactory(alchemy.SQLAlchemyModelFactory):
lambda obj: obj.placed_at + dt.timedelta(minutes=45),
)
# Attributes regarding the cancellation of an `Order`.
# May be overwritten with the `cancel_before_pickup` or `cancel_after_pickup` flags.
# Attributes regarding the cancellation of an `Order`
# May be overwritten with the `cancel_before_pickup` or `cancel_after_pickup` flags
cancelled = False
cancelled_at = None
cancelled_at_corrected = None