mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 14:09:20 -04:00
Merge pull request #4191 from alphagov/remove-sizewell
Remove Sizewell from the demo areas library
This commit is contained in:
@@ -27,11 +27,6 @@ def test_loads_libraries():
|
||||
'Countries',
|
||||
False,
|
||||
),
|
||||
(
|
||||
'demo',
|
||||
'Demo areas',
|
||||
False,
|
||||
),
|
||||
(
|
||||
'wd20-lad20-ctyua19',
|
||||
'Local authorities',
|
||||
@@ -149,10 +144,9 @@ def test_repository_has_all_libraries():
|
||||
repo = BroadcastAreasRepository()
|
||||
libraries = repo.get_libraries()
|
||||
|
||||
assert len(libraries) == 4
|
||||
assert len(libraries) == 3
|
||||
assert [
|
||||
('Countries', 'country'),
|
||||
('Demo areas', 'demo area'),
|
||||
('Test areas', 'test area'),
|
||||
('Local authorities', 'local authority'),
|
||||
] == [(name, name_singular) for _, name, name_singular, _is_group in libraries]
|
||||
|
||||
@@ -1005,7 +1005,6 @@ def test_preview_broadcast_areas_page_with_custom_polygons(
|
||||
@pytest.mark.parametrize('area_ids, expected_list', (
|
||||
([], [
|
||||
'Countries',
|
||||
'Demo areas',
|
||||
'Local authorities',
|
||||
'Test areas',
|
||||
]),
|
||||
@@ -1015,7 +1014,6 @@ def test_preview_broadcast_areas_page_with_custom_polygons(
|
||||
'ctry19-S92000003',
|
||||
], [
|
||||
'Countries',
|
||||
'Demo areas',
|
||||
'Local authorities',
|
||||
'Test areas',
|
||||
]),
|
||||
@@ -1026,7 +1024,6 @@ def test_preview_broadcast_areas_page_with_custom_polygons(
|
||||
'lad20-E06000052', # Cornwall, a unitary authority
|
||||
], [
|
||||
'Countries',
|
||||
'Demo areas',
|
||||
'Local authorities',
|
||||
'Test areas',
|
||||
]),
|
||||
@@ -1044,7 +1041,6 @@ def test_preview_broadcast_areas_page_with_custom_polygons(
|
||||
'Shetland Islands',
|
||||
# ---
|
||||
'Countries',
|
||||
'Demo areas',
|
||||
'Local authorities',
|
||||
'Test areas',
|
||||
]),
|
||||
|
||||
Reference in New Issue
Block a user