mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 14:09:20 -04:00
Refactor choose service page into macros
This makes it easier to see the logic controlling which services are shown where because the repetitive loops have been factored out.
This commit is contained in:
@@ -89,7 +89,7 @@ def test_choose_account_should_show_choose_accounts_page(
|
||||
assert outer_list_items[4].a.text == 'service_2'
|
||||
assert outer_list_items[4].a['href'] == url_for('.service_dashboard', service_id='s2')
|
||||
|
||||
# orphaned live services
|
||||
# orphaned trial services
|
||||
trial_services_list_items = page.select('nav ul')[1].select('li')
|
||||
assert len(trial_services_list_items) == 2
|
||||
assert trial_services_list_items[0].a.text == 'org_service_3'
|
||||
|
||||
Reference in New Issue
Block a user