mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-06 19:34:15 -05:00
fix test
This commit is contained in:
@@ -655,16 +655,12 @@ def test_organization_trial_mode_services_shows_all_non_live_services(
|
||||
)
|
||||
|
||||
services = page.select(".browse-list-item")
|
||||
assert len(services) == 2
|
||||
assert len(services) == 1
|
||||
|
||||
assert normalize_spaces(services[0].text) == "2"
|
||||
assert normalize_spaces(services[1].text) == "3"
|
||||
assert services[0].find("a")["href"] == url_for(
|
||||
"main.service_dashboard", service_id="2"
|
||||
)
|
||||
assert services[1].find("a")["href"] == url_for(
|
||||
"main.service_dashboard", service_id="3"
|
||||
)
|
||||
|
||||
|
||||
def test_organization_trial_mode_services_doesnt_work_if_not_platform_admin(
|
||||
|
||||
Reference in New Issue
Block a user