Skip to content

Commit 0bb1fb6

Browse files
Sambit Kumar Mishrasambit-mishra-NHSD
authored andcommitted
Added Test case
1 parent 5a7d720 commit 0bb1fb6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/unit/validation/test_iteration_validator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ def test_iteration_rules_having_invalid_cohort_labels_throws_error(
576576
):
577577
data = valid_iteration_with_only_mandatory_fields.copy()
578578
data["IterationRules"] = [valid_iteration_rule_with_only_mandatory_fields]
579-
data["IterationCohorts"] = [valid_iteration_cohorts]
579+
data["IterationCohorts"] = [valid_iteration_cohorts()]
580580
data["IterationRules"][0]["CohortLabel"] = "label_2"
581581

582582
with pytest.raises(ValidationError):

0 commit comments

Comments
 (0)