Stop saying "areas" when we mean "area_ids"

"areas" normally means an instance of BroadcastArea or similar, so
we should be more accurate to avoid confusion.
This commit is contained in:
Ben Thorner
2021-08-26 10:42:20 +01:00
parent bdf0fdbd5f
commit de9d1f991b
5 changed files with 25 additions and 28 deletions

View File

@@ -11,7 +11,7 @@ def test_simple_polygons(fake_uuid):
template_id=fake_uuid,
status='draft',
created_by_id=fake_uuid,
areas=[
area_ids=[
# Hackney Central
'wd20-E05009372',
# Hackney Wick
@@ -56,7 +56,7 @@ def test_raises_for_missing_areas(fake_uuid):
template_id=fake_uuid,
status='draft',
created_by_id=fake_uuid,
areas=[
area_ids=[
'wd20-E05009372',
'something else',
],