mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-13 17:59:45 -04:00
broadcast-areas: do not use group table
do not need it Signed-off-by: Toby Lorne <toby.lornewelch-richards@digital.cabinet-office.gov.uk>
This commit is contained in:
@@ -155,6 +155,20 @@ def test_includes_electoral_wards():
|
||||
assert len(areas) == 1
|
||||
|
||||
|
||||
def test_electoral_wards_are_groupable_cardiff():
|
||||
areas = broadcast_area_libraries.get_areas(['electoral-wards-of-the-united-kingdom-W06000015'])
|
||||
assert len(areas) == 1
|
||||
cardiff = areas[0]
|
||||
assert len(cardiff.sub_areas) == 29
|
||||
|
||||
|
||||
def test_electoral_wards_are_groupable_ealing():
|
||||
areas = broadcast_area_libraries.get_areas(['electoral-wards-of-the-united-kingdom-E09000009'])
|
||||
assert len(areas) == 1
|
||||
ealing = areas[0]
|
||||
assert len(ealing.sub_areas) == 23
|
||||
|
||||
|
||||
def test_repository_has_all_libraries():
|
||||
repo = BroadcastAreasRepository()
|
||||
libraries = repo.get_libraries()
|
||||
|
||||
Reference in New Issue
Block a user