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

@ -115,8 +115,8 @@ class TestGridification:
"""
addresses_mock.return_value = []
# The chosen `side_length` would result in one `Pixel` if there were orders.
# `+1` as otherwise there would be a second pixel in one direction.
# One `Pixel` would cover the whole `city` if there were orders
# => `+1` as otherwise there would be a second one in one direction
side_length = max(city.total_x, city.total_y) + 1
result = db.Grid.gridify(city=city, side_length=side_length)
@ -203,7 +203,7 @@ class TestGridification:
addresses_mock.return_value = [
# One `Address` in the lower-left `Pixel`, ...
make_address(latitude=48.8357377, longitude=2.2517412),
# ... and another one in the upper-right one.
# ... and another one in the upper-right one
make_address(latitude=48.8898312, longitude=2.4357622),
]