Skip to content

Commit ccd54e8

Browse files
Attempting to fix no new line at the of the file issue
1 parent c201efb commit ccd54e8

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

tests/smokescreen/test_compartment_3.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ def test_compartment_3(page: Page, smokescreen_properties: dict) -> None:
7171
except Exception as e:
7272
logging.error(f"Error executing stored procedures: {str(e)}")
7373
raise
74+
7475
# Check the results of the processed FIT kits have correctly updated the status of the associated subjects
7576
# Verify subject event status based on normal or abnormal classification
7677
for nhs_number, is_normal in zip(nhs_numbers, normal_flags):
@@ -91,6 +92,7 @@ def test_compartment_3(page: Page, smokescreen_properties: dict) -> None:
9192
f"Verification failed for NHS number {nhs_number} with status {expected_status}: {str(e)}"
9293
)
9394
raise
95+
9496
# Process S2 batch
9597
batch_processing(
9698
page,
@@ -99,12 +101,14 @@ def test_compartment_3(page: Page, smokescreen_properties: dict) -> None:
99101
"S158 - Subject Discharge Sent (Normal)",
100102
True,
101103
)
104+
102105
# Process S158 batch
103106
batch_processing(
104107
page,
105108
"S158",
106109
"GP Result (Normal)",
107110
"S159 - GP Discharge Sent (Normal)",
108111
)
112+
109113
# Log out
110114
Logout(page).log_out()

utils/fit_kit_logged.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ def process_kit_data(smokescreen_properties) -> list:
4848
return device_ids
4949

5050

51-
# Seperate kits into normal and abnormal
5251
def split_fit_kits(kit_id_df, smokescreen_properties: dict) -> pd.DataFrame:
5352
"""
5453
This method splits the dataframe into two, 1 normal and 1 abnormal
@@ -57,6 +56,7 @@ def split_fit_kits(kit_id_df, smokescreen_properties: dict) -> pd.DataFrame:
5756
number_of_abnormal = int(
5857
smokescreen_properties["c3_eng_number_of_abnormal_fit_kits"]
5958
)
59+
6060
# Split dataframe into two dataframes
6161
normal_fit_kit_df = kit_id_df.iloc[:number_of_normal]
6262
abnormal_fit_kit_df = kit_id_df.iloc[

0 commit comments

Comments
 (0)