mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-04 00:48:25 -04:00
post-gray test updates
This commit is contained in:
@@ -527,9 +527,9 @@ def test_organisation_services_shows_live_services_and_usage_with_count_of_1(
|
||||
|
||||
@freeze_time("2020-02-20 20:20")
|
||||
@pytest.mark.parametrize('financial_year, expected_selected', (
|
||||
(2017, '2017 to 2018 financial year'),
|
||||
(2018, '2018 to 2019 financial year'),
|
||||
(2019, '2019 to 2020 financial year'),
|
||||
(2017, '2017 to 2018 fiscal year'),
|
||||
(2018, '2018 to 2019 fiscal year'),
|
||||
(2019, '2019 to 2020 fiscal year'),
|
||||
))
|
||||
def test_organisation_services_filters_by_financial_year(
|
||||
client_request,
|
||||
@@ -551,9 +551,9 @@ def test_organisation_services_filters_by_financial_year(
|
||||
)
|
||||
mock.assert_called_once_with(ORGANISATION_ID, financial_year)
|
||||
assert normalize_spaces(page.select_one('.pill').text) == (
|
||||
'2019 to 2020 financial year '
|
||||
'2018 to 2019 financial year '
|
||||
'2017 to 2018 financial year'
|
||||
'2019 to 2020 fiscal year '
|
||||
'2018 to 2019 fiscal year '
|
||||
'2017 to 2018 fiscal year'
|
||||
)
|
||||
assert normalize_spaces(page.select_one('.pill-item--selected').text) == (
|
||||
expected_selected
|
||||
|
||||
Reference in New Issue
Block a user