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:
parent
0f69709226
commit
bca4250b4d
1 changed files with 39 additions and 59 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue