Skip to content

Commit 146abc0

Browse files
committed
sonarcube issues
1 parent 4be0614 commit 146abc0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/regression/regression_tests/fobt_regression_tests/test_scenario_17.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,10 @@ def test_scenario_17(page: Page) -> None:
500500
# Then the Investigation Dataset result message, which I will cancel, is "LNPCP"
501501
InvestigationDatasetsPage(page).expect_text_to_be_visible("LNPCP")
502502
# Then I confirm the Polyp Algorithm Size for Polyp 1,2 and 3 are 13,4,21 respectively
503-
InvestigationDatasetsPage(page).assert_polyp_algorithm_size(1, "13")
503+
expected_size = 1
504+
expected_value = "13"
505+
506+
InvestigationDatasetsPage(page).assert_polyp_algorithm_size(expected_size, expected_value)
504507

505508
InvestigationDatasetsPage(page).assert_polyp_algorithm_size(2, "4")
506509

@@ -514,7 +517,8 @@ def test_scenario_17(page: Page) -> None:
514517

515518
InvestigationDatasetsPage(page).assert_polyp_category(3, "LNPCP")
516519
# And I confirm the Episode Result is "Abnormal"
517-
EpisodeRepository().confirm_episode_result(nhs_no, "LNPCP")
520+
episode_result = "LNPCP"
521+
EpisodeRepository().confirm_episode_result(nhs_no, episode_result)
518522

519523
# When I view the subject
520524
screening_subject_page_searcher.navigate_to_subject_summary_page(page, nhs_no)

0 commit comments

Comments
 (0)