mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-11 09:28:27 -04:00
Sum up usage for an whole organisation
We invoice on a per organisation basis, so it’s useful to know the per organisation figures without needing to do any spreadsheet-fu.
This commit is contained in:
@@ -150,7 +150,7 @@ def test_a_page_should_nave_selected_org_navigation_item(
|
||||
mocker
|
||||
):
|
||||
mocker.patch(
|
||||
'app.organisations_client.get_services_and_usage', return_value=[]
|
||||
'app.organisations_client.get_services_and_usage', return_value={'services': {}}
|
||||
)
|
||||
page = client_request.get(endpoint, org_id=ORGANISATION_ID)
|
||||
selected_nav_items = page.select('.navigation a.selected')
|
||||
|
||||
Reference in New Issue
Block a user