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
|
|
@ -24,15 +24,12 @@ def test_two_pixels_with_two_addresses(
|
|||
`tests.db.test_grids.test_two_pixels_with_two_addresses`.
|
||||
The difference is that the result is written to the database.
|
||||
"""
|
||||
# Create two `Address` objects in distinct `Pixel`s.
|
||||
# One `Address` in the lower-left `Pixel`, ...
|
||||
# Two `Address`es in distinct `Pixel`s: one in the lower-left `Pixel`, ...
|
||||
address1 = make_address(latitude=48.8357377, longitude=2.2517412)
|
||||
# ... and another one in the upper-right one.
|
||||
# ... and another one in the upper-right one
|
||||
address2 = make_address(latitude=48.8898312, longitude=2.4357622)
|
||||
|
||||
# Locate a `Restaurant` at the two `Address`es
|
||||
# and place one `Order` for each of them
|
||||
# so that the `Address`es are used as `Order.pickup_address`es
|
||||
# `Restaurant`s with one `Order` each make the `Address`es pickup addresses
|
||||
restaurant1 = make_restaurant(address=address1)
|
||||
restaurant2 = make_restaurant(address=address2)
|
||||
order1 = make_order(restaurant=restaurant1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue