Skip to content

Commit 24294e6

Browse files
Addressing sonarqube issue and removing wip marker
1 parent a0120ad commit 24294e6

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

tests/regression/subject/episodes/datasets/investigation/endoscopy/polypcategories/test_advanced_colorectal_polyp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
get_subject_with_investigation_dataset_ready,
4444
go_from_investigation_dataset_complete_to_a259_status,
4545
get_subject_with_a99_status,
46-
go_from_a99_Status_to_a259_status,
46+
go_from_a99_status_to_a259_status,
4747
)
4848
from utils.user_tools import UserTools
4949

@@ -916,7 +916,7 @@ def test_identify_advanced_colorectal_polyp_from_histology_r(page: Page) -> None
916916
logging.info(f"NHS Number: {nhs_no}")
917917

918918
UserTools.user_login(page, "Screening Centre Manager at BCS001")
919-
go_from_a99_Status_to_a259_status(page, nhs_no)
919+
go_from_a99_status_to_a259_status(page, nhs_no)
920920

921921
SubjectScreeningSummaryPage(page).click_datasets_link()
922922
SubjectDatasetsPage(page).click_investigation_show_datasets()

tests/regression/subject/episodes/datasets/investigation/endoscopy/polypcategories/test_diminutive_rectal_hyperplastic_polyp.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
get_subject_with_investigation_dataset_ready,
4040
go_from_investigation_dataset_complete_to_a259_status,
4141
get_subject_with_a99_status,
42-
go_from_a99_Status_to_a259_status,
42+
go_from_a99_status_to_a259_status,
4343
)
4444

4545
general_information = {
@@ -254,7 +254,6 @@ def test_identify_diminutive_rectal_hyperplastic_polyp_from_histology_a(
254254
LogoutPage(page).log_out()
255255

256256

257-
@pytest.mark.wip
258257
@pytest.mark.vpn_required
259258
@pytest.mark.regression
260259
@pytest.mark.investigation_dataset_tests
@@ -270,7 +269,7 @@ def test_identify_diminutive_rectal_hyperplastic_polyp_from_histology_b(
270269

271270
UserTools.user_login(page, "Screening Centre Manager at BCS001")
272271

273-
go_from_a99_Status_to_a259_status(page, nhs_no)
272+
go_from_a99_status_to_a259_status(page, nhs_no)
274273

275274
SubjectScreeningSummaryPage(page).click_datasets_link()
276275
SubjectDatasetsPage(page).click_investigation_show_datasets()

tests/regression/subject/episodes/datasets/investigation/endoscopy/polypcategories/test_setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
verify_subject_event_status_by_nhs_no,
5959
)
6060
from utils.user_tools import UserTools
61-
from utils.datasets.investigation_datasets import go_from_a99_Status_to_a259_status
61+
from utils.datasets.investigation_datasets import go_from_a99_status_to_a259_status
6262

6363

6464
@pytest.fixture(scope="function", autouse=True)
@@ -168,7 +168,7 @@ def test_setup_subjects_as_a259(page: Page, subjects_to_run_for: int) -> None:
168168
for _, row in df.iterrows():
169169
nhs_no = row["nhs_number"]
170170
BasePage(page).click_main_menu_link()
171-
go_from_a99_Status_to_a259_status(page, nhs_no)
171+
go_from_a99_status_to_a259_status(page, nhs_no)
172172

173173
LogoutPage(page).log_out()
174174

utils/datasets/investigation_datasets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def get_subject_with_a99_status() -> pd.DataFrame:
8181
return df
8282

8383

84-
def go_from_a99_Status_to_a259_status(page: Page, nhs_no: str) -> None:
84+
def go_from_a99_status_to_a259_status(page: Page, nhs_no: str) -> None:
8585
"""
8686
Takes a subject who has the latest episode status A99 - Suitable for Endoscopic Test
8787
and takes them to A259 - Attended Diagnostic Test.

0 commit comments

Comments
 (0)