mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 18:18:26 -04:00
Stop checking for allowed_broadcast_provider being None
The current_service.allowed_broadcast_provider is now always "all" or one of the four providers, which means we can simply the code by not checking if it is None.
This commit is contained in:
@@ -287,20 +287,6 @@ def test_broadcast_tour_page_4_shows_service_name(
|
||||
|
||||
|
||||
@pytest.mark.parametrize('trial_mode, allowed_broadcast_provider, selector, expected_text, expected_tagged_text', (
|
||||
(
|
||||
True,
|
||||
None,
|
||||
'.navigation-service-type.navigation-service-type--training',
|
||||
'service one Training Switch service',
|
||||
'Training',
|
||||
),
|
||||
(
|
||||
False,
|
||||
None,
|
||||
'.navigation-service-type.navigation-service-type--live',
|
||||
'service one Live Switch service',
|
||||
'Live',
|
||||
),
|
||||
(
|
||||
True,
|
||||
"all",
|
||||
|
||||
Reference in New Issue
Block a user