From d43ac373948a5fdaed55a90b13fc2b63084df0f2 Mon Sep 17 00:00:00 2001 From: NogaNHS Date: Mon, 11 Dec 2023 12:18:30 +0000 Subject: [PATCH] fix code smell --- .../unit/helpers/data/ods/ods_organisation_response.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lambdas/tests/unit/helpers/data/ods/ods_organisation_response.py b/lambdas/tests/unit/helpers/data/ods/ods_organisation_response.py index 70ceb5882..d334223c1 100644 --- a/lambdas/tests/unit/helpers/data/ods/ods_organisation_response.py +++ b/lambdas/tests/unit/helpers/data/ods/ods_organisation_response.py @@ -1,7 +1,8 @@ from enums.repository_role import OrganisationRelationship +MOCK_GP_NAME = "Mock GP Practice" NON_BSOL_ORGANISATION_RESPONSE = { - "Name": "Mock GP Practice", + "Name": MOCK_GP_NAME, "Rels": { "Rel": [ { @@ -24,7 +25,7 @@ BSOL_ORGANISATION_RESPONSE = { - "Name": "Mock GP Practice", + "Name": MOCK_GP_NAME, "Rels": { "Rel": [ { @@ -47,7 +48,7 @@ RE6_REL_ID_RESPONSE = { - "Name": "Mock GP Practice", + "Name": MOCK_GP_NAME, "Rels": { "Rel": [ { @@ -68,4 +69,4 @@ }, } -NO_RELS_RESPONSE = {"Name": "Mock GP Practice"} +NO_RELS_RESPONSE = {"Name": MOCK_GP_NAME}