Skip to content

Commit 39ea0b1

Browse files
committed
Fixing sonarcube issue
1 parent cd565a5 commit 39ea0b1

File tree

5 files changed

+9
-10
lines changed

5 files changed

+9
-10
lines changed

tests/regression/notes/test_additional_care_notes.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def test_add_an_additional_care_note_for_a_subject_without_a_note(
129129
)
130130

131131
verify_note_content_matches_expected(
132-
notes_df, note_title, note_text, nhs_no, type_id
132+
notes_df, note_title, note_text, type_id
133133
)
134134

135135
logging.info(
@@ -189,7 +189,7 @@ def test_add_additional_care_note_for_subject_with_existing_note(
189189
)
190190

191191
verify_note_content_matches_expected(
192-
notes_df, note_title, note_text, nhs_no, type_id
192+
notes_df, note_title, note_text, type_id
193193
)
194194

195195
logging.info(
@@ -325,7 +325,7 @@ def test_update_existing_additional_care_note(
325325

326326
# Verify title and note match the provided values
327327
verify_note_content_matches_expected(
328-
notes_df, note_title, note_text, nhs_no, type_id
328+
notes_df, note_title, note_text, type_id
329329
)
330330

331331
logging.info(

tests/regression/notes/test_episode_notes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def test_add_a_episode_note_for_a_subject_without_a_note(
123123

124124
# Verify title and note match the provided values
125125
verify_note_content_matches_expected(
126-
notes_df, note_title, note_text, nhs_no, type_id
126+
notes_df, note_title, note_text,type_id
127127
)
128128

129129
logging.info(
@@ -257,7 +257,7 @@ def test_update_existing_episode_note(
257257

258258
# Verify title and note match the provided values
259259
verify_note_content_matches_expected(
260-
notes_df, note_title, note_text, nhs_no, type_id
260+
notes_df, note_title, note_text, type_id
261261
)
262262

263263
logging.info(

tests/regression/notes/test_kit_notes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def test_add_a_kit_note_for_a_subject_without_a_note(
124124
)
125125
# Verify title and note match the provided values
126126
verify_note_content_matches_expected(
127-
notes_df, note_title, note_text, nhs_no, type_id
127+
notes_df, note_title, note_text,type_id
128128
)
129129

130130
logging.info(
@@ -253,7 +253,7 @@ def test_update_existing_kit_note(
253253

254254
# Verify title and note match the provided values
255255
verify_note_content_matches_expected(
256-
notes_df, note_title, note_text, nhs_no, type_id
256+
notes_df, note_title, note_text, type_id
257257
)
258258

259259
logging.info(

tests/regression/notes/test_subject_notes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def test_add_a_subject_note_for_a_subject_without_a_note(
125125
)
126126
# Verify title and note match the provided values
127127
verify_note_content_matches_expected(
128-
notes_df, note_title, note_text, nhs_no, type_id
128+
notes_df, note_title, note_text,type_id
129129
)
130130
logging.info(
131131
f"Verification successful: subject note added for the subject with NHS Number: {nhs_no}. "
@@ -253,7 +253,7 @@ def test_update_existing_subject_note(
253253

254254
# Verify title and note match the provided values
255255
verify_note_content_matches_expected(
256-
notes_df, note_title, note_text, nhs_no, type_id
256+
notes_df, note_title, note_text, type_id
257257
)
258258

259259
logging.info(

utils/subject_notes.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ def verify_note_content_matches_expected(
6868
notes_df: pd.DataFrame,
6969
expected_title: str,
7070
expected_note: str,
71-
nhs_no: str,
7271
type_id: int,
7372
) -> None:
7473
"""

0 commit comments

Comments
 (0)