From 2a4cb9cb616b6453474690725a34c63144050833 Mon Sep 17 00:00:00 2001 From: Louise Davies Date: Fri, 31 Mar 2023 15:26:06 +0100 Subject: [PATCH] Fix linting --- test/integration/datagateway_api/test_swagger_ui.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/integration/datagateway_api/test_swagger_ui.py b/test/integration/datagateway_api/test_swagger_ui.py index f9da624f..cbcaed35 100644 --- a/test/integration/datagateway_api/test_swagger_ui.py +++ b/test/integration/datagateway_api/test_swagger_ui.py @@ -53,17 +53,17 @@ def test_swagger_ui(self, test_config_swagger, api_type, request): test_client = test_app.test_client() test_response = test_client.get( - f"{test_config_swagger.url_prefix}{test_config_swagger[api_type].extension}", # noqa: B950 + f"{test_config_swagger.url_prefix}{test_config_swagger[api_type].extension}", # noqa: B950 ) test_response_string = test_response.get_data(as_text=True) assert f"{api_name} OpenAPI Spec" in test_response_string assert ( - f"{test_config_swagger.url_prefix}{test_config_swagger[api_type].extension}/swagger-ui" # noqa: B950 + f"{test_config_swagger.url_prefix}{test_config_swagger[api_type].extension}/swagger-ui" # noqa: B950 in test_response_string ) assert ( - f"{test_config_swagger.url_prefix}/{api_type.replace('_', '-')}/openapi.json" # noqa: B950 + f"{test_config_swagger.url_prefix}/{api_type.replace('_', '-')}/openapi.json" # noqa: B950 in test_response_string )