Skip to content

Commit 08ac996

Browse files
committed
NPA-5191: Formatting fix
1 parent b1b3636 commit 08ac996

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

.github/pull_request_template.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ https://nhsd-jira.digital.nhs.uk/browse/NPA-XXXX
2424
<!-- - Any tests added/updated -->
2525
<!-- - Evidence that each acceptance criterion from the Jira ticket is met -->
2626

27-
- [ ] <!-- Add bullet points for testing instructions -->
28-
- [ ] <!-- Add bullet points for testing instructions -->
29-
- [ ] <!-- Add bullet points for testing instructions -->
27+
- <!-- Add bullet points for testing instructions -->
28+
- <!-- Add bullet points for testing instructions -->
29+
- <!-- Add bullet points for testing instructions -->
3030

3131
---
3232

sandbox/api/constants.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,9 @@
9393
# POST QuestionnaireResponse
9494
POST_QUESTIONNAIRE_RESPONSE_DIRECTORY = "./api/examples/POST_QuestionnaireResponse/"
9595
POST_QUESTIONNAIRE_RESPONSE__SUCCESS = f"{POST_QUESTIONNAIRE_RESPONSE_DIRECTORY}success.yaml"
96-
POST_QUESTIONNAIRE_RESPONSE__DUPLICATE_RELATIONSHIP_ERROR = \
96+
POST_QUESTIONNAIRE_RESPONSE__DUPLICATE_RELATIONSHIP_ERROR = (
9797
f"{POST_QUESTIONNAIRE_RESPONSE_DIRECTORY}errors/duplicate_relationship_error.yaml"
98+
)
9899

99100
# GET QuestionnaireResponse
100101
GET_QUESTIONNAIRE_RESPONSE_DIRECTORY = "./api/examples/GET_QuestionnaireResponse/"

sandbox/api/tests/test_post_questionnaire_response.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,7 @@ def test_post_questionnaire_response(
4242
status=status_code,
4343
content_type="application/json",
4444
)
45-
json = {
46-
"resourceType": "QuestionnaireResponse",
47-
"source": {
48-
"identifier": {
49-
"value": nhs_num
50-
}
51-
}
52-
}
45+
json = {"resourceType": "QuestionnaireResponse", "source": {"identifier": {"value": nhs_num}}}
5346
# Act
5447
response = client.post(QUESTIONNAIRE_RESPONSE_API_ENDPOINT, json=json)
5548
# Assert

0 commit comments

Comments
 (0)