mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
Bump utils to 46.0.0
This brings in some new polygon simplication code [1] so we need to tweak any tests that rely on the exact number of polygons after this operation. [1]: https://github.com/alphagov/notifications-utils/pull/890
This commit is contained in:
@@ -104,7 +104,7 @@ def test_valid_post_cap_xml_broadcast_returns_201(
|
||||
assert response_json['service_id'] == str(sample_broadcast_service.id)
|
||||
|
||||
assert len(response_json['areas']['simple_polygons']) == 1
|
||||
assert len(response_json['areas']['simple_polygons'][0]) == 23
|
||||
assert len(response_json['areas']['simple_polygons'][0]) == 22
|
||||
assert response_json['areas']['simple_polygons'][0][0] == [53.10562, 0.244127]
|
||||
assert response_json['areas']['simple_polygons'][0][-1] == [53.10562, 0.244127]
|
||||
assert response_json['areas']['names'] == ['River Steeping in Wainfleet All Saints']
|
||||
|
||||
Reference in New Issue
Block a user