mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-31 20:00:00 -04:00
Fix tests - add flake8 exception and change endpoint name in navigation tests
This commit is contained in:
@@ -121,6 +121,7 @@ EXCLUDED_ENDPOINTS = tuple(map(Navigation.get_endpoint_with_blueprint, {
|
||||
'find_services_by_name',
|
||||
'find_users_by_email',
|
||||
'forgot_password',
|
||||
'get_billing_report',
|
||||
'get_example_csv',
|
||||
'get_notifications_as_json',
|
||||
'get_started',
|
||||
@@ -297,7 +298,6 @@ EXCLUDED_ENDPOINTS = tuple(map(Navigation.get_endpoint_with_blueprint, {
|
||||
'uploaded_letters',
|
||||
'uploads',
|
||||
'usage',
|
||||
'usage_for_all_services',
|
||||
'user_information',
|
||||
'user_profile',
|
||||
'user_profile_disable_platform_admin_view',
|
||||
|
||||
@@ -3059,11 +3059,7 @@ def os_environ():
|
||||
|
||||
|
||||
@pytest.fixture # noqa (C901 too complex)
|
||||
def client_request(
|
||||
logged_in_client,
|
||||
mocker,
|
||||
service_one,
|
||||
):
|
||||
def client_request(logged_in_client, mocker, service_one): # noqa (C901 too complex)
|
||||
class ClientRequest:
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user