Skip to content

Commit 4b0089e

Browse files
Addressed cohort label test
1 parent 2e5021f commit 4b0089e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/fixtures/builders/model/rule.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ def future_date(days_ahead: int = 365) -> date:
1616
return datetime.now(tz=UTC).date() + timedelta(days=randint(1, days_ahead))
1717

1818

19-
class IterationCohortFactory(ModelFactory[rules.IterationCohort]): ...
19+
class IterationCohortFactory(ModelFactory[rules.IterationCohort]):
20+
priority = rules.RulePriority(0)
2021

2122

2223
class IterationRuleFactory(ModelFactory[rules.IterationRule]):

tests/unit/services/calculators/test_eligibility_calculator.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,6 @@ def test_status_on_cohort_attribute_level(faker: Faker):
769769
)
770770

771771

772-
@pytest.mark.skip(reason="This test is temporarily ignored. Reason : Cohort label")
773772
@pytest.mark.parametrize(
774773
("person_cohorts", "cohort_label", "expected_status", "test_comment"),
775774
[

0 commit comments

Comments
 (0)