|
60 | 60 | } |
61 | 61 |
|
62 | 62 | category_as_string = "Advanced colorectal polyp" |
| 63 | +abnormal_string = "Abnormal" |
63 | 64 |
|
64 | 65 |
|
65 | 66 | @pytest.fixture(autouse=True) |
@@ -124,6 +125,7 @@ def test_identify_advanced_colorectal_polyp_from_histology_a(page: Page) -> None |
124 | 125 | drug_information=drug_information, |
125 | 126 | endoscopy_information=endoscopy_information, |
126 | 127 | failure_information=failure_information, |
| 128 | + expected_dataset_result=abnormal_string, |
127 | 129 | expected_category=category_as_string, |
128 | 130 | expected_size="9", |
129 | 131 | polyp_information=polyp_1_information, |
@@ -172,6 +174,7 @@ def test_identify_advanced_colorectal_polyp_from_histology_b(page: Page) -> None |
172 | 174 | drug_information=drug_information, |
173 | 175 | endoscopy_information=endoscopy_information, |
174 | 176 | failure_information=failure_information, |
| 177 | + expected_dataset_result=abnormal_string, |
175 | 178 | expected_category=category_as_string, |
176 | 179 | expected_size="8", |
177 | 180 | polyp_information=polyp_1_information, |
@@ -214,6 +217,7 @@ def test_identify_advanced_colorectal_polyp_from_histology_c(page: Page) -> None |
214 | 217 | drug_information=drug_information, |
215 | 218 | endoscopy_information=endoscopy_information, |
216 | 219 | failure_information=failure_information, |
| 220 | + expected_dataset_result=abnormal_string, |
217 | 221 | expected_category=category_as_string, |
218 | 222 | expected_size="10", |
219 | 223 | polyp_information=polyp_1_information, |
@@ -262,6 +266,7 @@ def test_identify_advanced_colorectal_polyp_from_histology_d(page: Page) -> None |
262 | 266 | drug_information=drug_information, |
263 | 267 | endoscopy_information=endoscopy_information, |
264 | 268 | failure_information=failure_information, |
| 269 | + expected_dataset_result=abnormal_string, |
265 | 270 | expected_category=category_as_string, |
266 | 271 | expected_size="8", |
267 | 272 | polyp_information=polyp_1_information, |
@@ -315,6 +320,7 @@ def test_identify_advanced_colorectal_polyp_from_histology_e(page: Page) -> None |
315 | 320 | drug_information=drug_information, |
316 | 321 | endoscopy_information=endoscopy_information, |
317 | 322 | failure_information=failure_information, |
| 323 | + expected_dataset_result=abnormal_string, |
318 | 324 | expected_category=category_as_string, |
319 | 325 | expected_size="11", |
320 | 326 | polyp_information=polyp_1_information, |
@@ -365,6 +371,7 @@ def test_identify_advanced_colorectal_polyp_from_histology_f(page: Page) -> None |
365 | 371 | drug_information=drug_information, |
366 | 372 | endoscopy_information=endoscopy_information, |
367 | 373 | failure_information=failure_information, |
| 374 | + expected_dataset_result=abnormal_string, |
368 | 375 | expected_category=category_as_string, |
369 | 376 | expected_size="10", |
370 | 377 | polyp_information=polyp_1_information, |
@@ -413,6 +420,7 @@ def test_identify_advanced_colorectal_polyp_from_histology_g(page: Page) -> None |
413 | 420 | drug_information=drug_information, |
414 | 421 | endoscopy_information=endoscopy_information, |
415 | 422 | failure_information=failure_information, |
| 423 | + expected_dataset_result=abnormal_string, |
416 | 424 | expected_category=category_as_string, |
417 | 425 | expected_size="10", |
418 | 426 | polyp_information=polyp_1_information, |
@@ -463,6 +471,7 @@ def test_identify_advanced_colorectal_polyp_from_histology_h(page: Page) -> None |
463 | 471 | drug_information=drug_information, |
464 | 472 | endoscopy_information=endoscopy_information, |
465 | 473 | failure_information=failure_information, |
| 474 | + expected_dataset_result=abnormal_string, |
466 | 475 | expected_category=category_as_string, |
467 | 476 | expected_size="12", |
468 | 477 | polyp_information=polyp_1_information, |
@@ -516,6 +525,7 @@ def test_identify_advanced_colorectal_polyp_from_histology_i(page: Page) -> None |
516 | 525 | drug_information=drug_information, |
517 | 526 | endoscopy_information=endoscopy_information, |
518 | 527 | failure_information=failure_information, |
| 528 | + expected_dataset_result=abnormal_string, |
519 | 529 | expected_category=category_as_string, |
520 | 530 | expected_size="11", |
521 | 531 | polyp_information=polyp_1_information, |
@@ -561,6 +571,7 @@ def test_identify_advanced_colorectal_polyp_from_histology_j(page: Page) -> None |
561 | 571 | drug_information=drug_information, |
562 | 572 | endoscopy_information=endoscopy_information, |
563 | 573 | failure_information=failure_information, |
| 574 | + expected_dataset_result=abnormal_string, |
564 | 575 | expected_category=category_as_string, |
565 | 576 | expected_size="13", |
566 | 577 | polyp_information=polyp_1_information, |
@@ -610,6 +621,7 @@ def test_identify_advanced_colorectal_polyp_from_histology_k(page: Page) -> None |
610 | 621 | drug_information=drug_information, |
611 | 622 | endoscopy_information=endoscopy_information, |
612 | 623 | failure_information=failure_information, |
| 624 | + expected_dataset_result=abnormal_string, |
613 | 625 | expected_category=category_as_string, |
614 | 626 | expected_size="7", |
615 | 627 | polyp_information=polyp_1_information, |
@@ -660,6 +672,7 @@ def test_identify_advanced_colorectal_polyp_from_histology_l(page: Page) -> None |
660 | 672 | drug_information=drug_information, |
661 | 673 | endoscopy_information=endoscopy_information, |
662 | 674 | failure_information=failure_information, |
| 675 | + expected_dataset_result=abnormal_string, |
663 | 676 | expected_category=category_as_string, |
664 | 677 | expected_size="6", |
665 | 678 | polyp_information=polyp_1_information, |
@@ -710,6 +723,7 @@ def test_identify_advanced_colorectal_polyp_from_histology_m(page: Page) -> None |
710 | 723 | drug_information=drug_information, |
711 | 724 | endoscopy_information=endoscopy_information, |
712 | 725 | failure_information=failure_information, |
| 726 | + expected_dataset_result=abnormal_string, |
713 | 727 | expected_category=category_as_string, |
714 | 728 | expected_size="5", |
715 | 729 | polyp_information=polyp_1_information, |
@@ -762,6 +776,7 @@ def test_identify_advanced_colorectal_polyp_from_histology_n(page: Page) -> None |
762 | 776 | drug_information=drug_information, |
763 | 777 | endoscopy_information=endoscopy_information, |
764 | 778 | failure_information=failure_information, |
| 779 | + expected_dataset_result=abnormal_string, |
765 | 780 | expected_category=category_as_string, |
766 | 781 | expected_size="4", |
767 | 782 | polyp_information=polyp_1_information, |
@@ -815,6 +830,7 @@ def test_identify_advanced_colorectal_polyp_from_histology_o(page: Page) -> None |
815 | 830 | drug_information=drug_information, |
816 | 831 | endoscopy_information=endoscopy_information, |
817 | 832 | failure_information=failure_information, |
| 833 | + expected_dataset_result=abnormal_string, |
818 | 834 | expected_category=category_as_string, |
819 | 835 | expected_size="3", |
820 | 836 | polyp_information=polyp_1_information, |
@@ -866,6 +882,7 @@ def test_identify_advanced_colorectal_polyp_from_histology_p(page: Page) -> None |
866 | 882 | drug_information=drug_information, |
867 | 883 | endoscopy_information=endoscopy_information, |
868 | 884 | failure_information=failure_information, |
| 885 | + expected_dataset_result=abnormal_string, |
869 | 886 | expected_category=category_as_string, |
870 | 887 | expected_size="2", |
871 | 888 | polyp_information=polyp_1_information, |
@@ -916,6 +933,7 @@ def test_identify_advanced_colorectal_polyp_from_histology_q(page: Page) -> None |
916 | 933 | drug_information=drug_information, |
917 | 934 | endoscopy_information=endoscopy_information, |
918 | 935 | failure_information=failure_information, |
| 936 | + expected_dataset_result=abnormal_string, |
919 | 937 | expected_category=category_as_string, |
920 | 938 | expected_size="20", |
921 | 939 | polyp_information=polyp_1_information, |
@@ -998,6 +1016,7 @@ def test_identify_advanced_colorectal_polyp_from_histology_r(page: Page) -> None |
998 | 1016 | drug_information=drug_information, |
999 | 1017 | endoscopy_information=endoscopy_information, |
1000 | 1018 | failure_information=failure_information, |
| 1019 | + expected_dataset_result=abnormal_string, |
1001 | 1020 | expected_category=category_as_string, |
1002 | 1021 | expected_size="6", |
1003 | 1022 | polyp_information=polyp_1_information, |
@@ -1046,6 +1065,7 @@ def test_identify_advanced_colorectal_polyp_from_histology_s(page: Page) -> None |
1046 | 1065 | drug_information=drug_information, |
1047 | 1066 | endoscopy_information=endoscopy_information, |
1048 | 1067 | failure_information=failure_information, |
| 1068 | + expected_dataset_result=abnormal_string, |
1049 | 1069 | expected_category=category_as_string, |
1050 | 1070 | expected_size="32", |
1051 | 1071 | polyp_information=polyp_1_information, |
|
0 commit comments