Skip to content

Commit d59eb1c

Browse files
Updating test docstrings
1 parent 69d2775 commit d59eb1c

File tree

1 file changed

+19
-19
lines changed
  • tests/regression/subject/episodes/datasets/investigation/endoscopy/polypcategories

1 file changed

+19
-19
lines changed

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

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def test_identify_polyp_category_no_histology_a(
134134
page: Page,
135135
) -> None:
136136
"""
137-
This test identifies a polyp category where excision was attempted but there is no histology. (BCSS-5109 - A)
137+
Scenario: A [BCSS-5109] Excised not retrieved, polyp category = LNPCP
138138
"""
139139
df = get_subject_with_investigation_dataset_ready()
140140
nhs_no = df.iloc[0]["subject_nhs_number"]
@@ -186,7 +186,7 @@ def test_identify_polyp_category_no_histology_b(
186186
page: Page,
187187
) -> None:
188188
"""
189-
This test identifies a polyp category where excision was attempted but there is no histology. (BCSS-5109 - B)
189+
Scenario: B [BCSS-5109] Excised not retrieved, polyp category = Advanced colorectal polyp
190190
"""
191191
df = get_subject_with_investigation_dataset_ready()
192192
nhs_no = df.iloc[0]["subject_nhs_number"]
@@ -242,7 +242,7 @@ def test_identify_polyp_category_no_histology_c(
242242
page: Page,
243243
) -> None:
244244
"""
245-
This test identifies a polyp category where excision was attempted but there is no histology. (BCSS-5109 - C)
245+
Scenario: C [BCSS-5109] Excised not retrieved, polyp category = Other polyp
246246
"""
247247
df = get_subject_with_investigation_dataset_ready()
248248
nhs_no = df.iloc[0]["subject_nhs_number"]
@@ -299,7 +299,7 @@ def test_identify_polyp_category_no_histology_d(
299299
page: Page,
300300
) -> None:
301301
"""
302-
This test identifies a polyp category where excision was attempted but there is no histology. (BCSS-5109 - D)
302+
Scenario: D [BCSS-5109] Excised not retrieved, polyp category = Advanced colorectal polyp
303303
"""
304304
df = get_subject_with_investigation_dataset_ready()
305305
nhs_no = df.iloc[0]["subject_nhs_number"]
@@ -357,7 +357,7 @@ def test_identify_polyp_category_no_histology_e(
357357
page: Page,
358358
) -> None:
359359
"""
360-
This test identifies a polyp category where excision was attempted but there is no histology. (BCSS-5109 - E)
360+
Scenario: E [BCSS-5109] Excised not retrieved, polyp category = Premalignant polyp
361361
"""
362362
df = get_subject_with_investigation_dataset_ready()
363363
nhs_no = df.iloc[0]["subject_nhs_number"]
@@ -414,7 +414,7 @@ def test_identify_polyp_category_no_histology_f(
414414
page: Page,
415415
) -> None:
416416
"""
417-
This test identifies a polyp category where excision was attempted but there is no histology. (BCSS-5109 - F)
417+
Scenario: F [BCSS-5109] Pathology lost, polyp category = LNPCP
418418
"""
419419
df = get_subject_with_investigation_dataset_ready()
420420
nhs_no = df.iloc[0]["subject_nhs_number"]
@@ -479,7 +479,7 @@ def test_identify_polyp_category_no_histology_g(
479479
page: Page,
480480
) -> None:
481481
"""
482-
This test identifies a polyp category where excision was attempted but there is no histology. (BCSS-5109 - G)
482+
Scenario: G [BCSS-5109] Pathology lost, polyp category = Advanced colorectal polyp
483483
"""
484484
df = get_subject_with_investigation_dataset_ready()
485485
nhs_no = df.iloc[0]["subject_nhs_number"]
@@ -543,7 +543,7 @@ def test_identify_polyp_category_no_histology_h(
543543
page: Page,
544544
) -> None:
545545
"""
546-
This test identifies a polyp category where excision was attempted but there is no histology. (BCSS-5109 - H)
546+
Scenario: H [BCSS-5109] Pathology lost, polyp category = Other polyp
547547
"""
548548
df = get_subject_with_investigation_dataset_ready()
549549
nhs_no = df.iloc[0]["subject_nhs_number"]
@@ -609,7 +609,7 @@ def test_identify_polyp_category_no_histology_i(
609609
page: Page,
610610
) -> None:
611611
"""
612-
This test identifies a polyp category where excision was attempted but there is no histology. (BCSS-5109 - I)
612+
Scenario: I [BCSS-5109] Pathology lost, polyp category = Advanced colorectal polyp
613613
"""
614614
df = get_subject_with_investigation_dataset_ready()
615615
nhs_no = df.iloc[0]["subject_nhs_number"]
@@ -675,7 +675,7 @@ def test_identify_polyp_category_no_histology_j(
675675
page: Page,
676676
) -> None:
677677
"""
678-
This test identifies a polyp category where excision was attempted but there is no histology. (BCSS-5109 - J)
678+
Scenario: J [BCSS-5109] Pathology lost, polyp category = Premalignant polyp
679679
"""
680680
df = get_subject_with_investigation_dataset_ready()
681681
nhs_no = df.iloc[0]["subject_nhs_number"]
@@ -740,7 +740,7 @@ def test_identify_polyp_category_no_histology_k(
740740
page: Page,
741741
) -> None:
742742
"""
743-
This test identifies a polyp category where excision was attempted but there is no histology. (BCSS-5109 - K)
743+
Scenario: K [BCSS-5109] Tissue destruction, polyp category = LNPCP
744744
"""
745745
df = get_subject_with_investigation_dataset_ready()
746746
nhs_no = df.iloc[0]["subject_nhs_number"]
@@ -801,7 +801,7 @@ def test_identify_polyp_category_no_histology_l(
801801
page: Page,
802802
) -> None:
803803
"""
804-
This test identifies a polyp category where excision was attempted but there is no histology. (BCSS-5109 - L)
804+
Scenario: L [BCSS-5109] Tissue destruction, polyp category = Advanced colorectal polyp
805805
"""
806806
df = get_subject_with_investigation_dataset_ready()
807807
nhs_no = df.iloc[0]["subject_nhs_number"]
@@ -862,7 +862,7 @@ def test_identify_polyp_category_no_histology_m(
862862
page: Page,
863863
) -> None:
864864
"""
865-
This test identifies a polyp category where excision was attempted but there is no histology. (BCSS-5109 - M)
865+
Scenario: M [BCSS-5109] Tissue destruction, polyp category = Other polyp
866866
"""
867867
df = get_subject_with_investigation_dataset_ready()
868868
nhs_no = df.iloc[0]["subject_nhs_number"]
@@ -923,7 +923,7 @@ def test_identify_polyp_category_no_histology_n(
923923
page: Page,
924924
) -> None:
925925
"""
926-
This test identifies a polyp category where excision was attempted but there is no histology. (BCSS-5109 - N)
926+
Scenario: N [BCSS-5109] Tissue destruction, polyp category = Premalignant polyp
927927
"""
928928
df = get_subject_with_investigation_dataset_ready()
929929
nhs_no = df.iloc[0]["subject_nhs_number"]
@@ -1003,7 +1003,7 @@ def test_identify_polyp_category_no_histology_o(
10031003
page: Page,
10041004
) -> None:
10051005
"""
1006-
This test identifies a polyp category where excision was attempted but there is no histology. (BCSS-5109 - O)
1006+
Scenario: O [BCSS-5109] Biopsy without tissue destruction, polyp category = null
10071007
"""
10081008
df = get_subject_with_investigation_dataset_ready()
10091009
nhs_no = df.iloc[0]["subject_nhs_number"]
@@ -1052,7 +1052,7 @@ def test_identify_polyp_category_no_histology_p(
10521052
page: Page,
10531053
) -> None:
10541054
"""
1055-
This test identifies a polyp category where excision was attempted but there is no histology. (BCSS-5109 - P)
1055+
Scenario: P [BCSS-5109] Biopsy without tissue destruction, polyp category = null
10561056
"""
10571057
df = get_subject_with_investigation_dataset_ready()
10581058
nhs_no = df.iloc[0]["subject_nhs_number"]
@@ -1102,7 +1102,7 @@ def test_identify_polyp_category_no_histology_q(
11021102
page: Page,
11031103
) -> None:
11041104
"""
1105-
This test identifies a polyp category where excision was attempted but there is no histology. (BCSS-5109 - Q)
1105+
Scenario: Q - Check Secondary Piece for No Histology
11061106
"""
11071107
df = get_subject_with_a99_status()
11081108

@@ -1181,7 +1181,7 @@ def test_identify_polyp_category_no_histology_r(
11811181
page: Page,
11821182
) -> None:
11831183
"""
1184-
This test identifies a polyp category where excision was attempted but there is no histology. (BCSS-5109 - R)
1184+
Scenario: R - Check Secondary Piece for No Histology
11851185
"""
11861186
df = get_subject_with_a99_status()
11871187

@@ -1252,7 +1252,7 @@ def test_identify_polyp_category_no_histology_s(
12521252
page: Page,
12531253
) -> None:
12541254
"""
1255-
This test identifies a polyp category where excision was attempted but there is no histology. (BCSS-5109 - S)
1255+
Scenario: S - Check Secondary Piece for No Histology
12561256
"""
12571257
df = get_subject_with_a99_status()
12581258

0 commit comments

Comments
 (0)