Fix tests - add flake8 exception and change endpoint name in navigation tests

This commit is contained in:
Pea Tyczynska
2021-03-30 15:16:02 +01:00
parent f7142a1518
commit daba419b39
2 changed files with 2 additions and 6 deletions

View File

@@ -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',

View File

@@ -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