Skip to content

Commit 56caa91

Browse files
Yashika KhuranaYashika Khurana
authored andcommitted
fix(nimbus): use _start_date field instead of start_date property in tests
1 parent 6ae1132 commit 56caa91

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

experimenter/experimenter/experiments/tests/test_models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5637,7 +5637,7 @@ def test_monitoring_summary_returns_top_reason_for_branches_with_reasons(self):
56375637

56385638
def test_monitoring_health_warnings_feature_conflict(self):
56395639
experiment = NimbusExperimentFactory.create(
5640-
start_date=datetime.date.today()
5640+
_start_date=datetime.date.today()
56415641
- datetime.timedelta(days=NimbusConstants.ZERO_ENROLLMENT_DAYS_THRESHOLD),
56425642
monitoring_data={
56435643
"total_enrollments": 2000,
@@ -5667,7 +5667,7 @@ def test_monitoring_health_warnings_feature_conflict(self):
56675667

56685668
def test_monitoring_health_warnings_low_enrollment(self):
56695669
experiment = NimbusExperimentFactory.create(
5670-
start_date=datetime.date.today()
5670+
_start_date=datetime.date.today()
56715671
- datetime.timedelta(days=NimbusConstants.ZERO_ENROLLMENT_DAYS_THRESHOLD),
56725672
monitoring_data={
56735673
"total_enrollments": 0,

0 commit comments

Comments
 (0)