Add library of test areas

This is a temporary addition so we can test out some functionality.
This commit is contained in:
Chris Hill-Scott
2021-02-19 10:43:24 +00:00
parent b4b1fd641c
commit f55a8bf4b8
5 changed files with 68 additions and 2 deletions

View File

@@ -735,6 +735,7 @@ def test_preview_broadcast_areas_page_with_custom_polygons(
([], [
'Countries',
'Local authorities',
'Test areas',
]),
([
# Countries have no parent areas
@@ -743,6 +744,7 @@ def test_preview_broadcast_areas_page_with_custom_polygons(
], [
'Countries',
'Local authorities',
'Test areas',
]),
([
# If youve chosen the whole of a county or unitary authority
@@ -752,6 +754,7 @@ def test_preview_broadcast_areas_page_with_custom_polygons(
], [
'Countries',
'Local authorities',
'Test areas',
]),
([
'wd20-E05004299', # Pitville, in Cheltenham, in Gloucestershire
@@ -768,6 +771,7 @@ def test_preview_broadcast_areas_page_with_custom_polygons(
# ---
'Countries',
'Local authorities',
'Test areas',
]),
))
def test_choose_broadcast_library_page(