Skip to content

Commit 2c2c0ad

Browse files
Yashika KhuranaYashika Khurana
authored andcommitted
refactor(nimbus): use constants in monitoring_health_warnings tests
1 parent 56caa91 commit 2c2c0ad

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

experimenter/experimenter/experiments/tests/test_models.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5643,17 +5643,17 @@ def test_monitoring_health_warnings_feature_conflict(self):
56435643
"total_enrollments": 2000,
56445644
"enrollment_funnel": [
56455645
{
5646-
"status": "NotEnrolled",
5647-
"reason": "FeatureConflict",
5648-
"app_name": "firefox_desktop",
5646+
"status": NimbusExperiment.FunnelStatus.NOT_ENROLLED,
5647+
"reason": NimbusExperiment.FunnelReason.FEATURE_CONFLICT,
5648+
"app_name": APPLICATION_CONFIG_DESKTOP.app_name,
56495649
"branch": "control",
56505650
"conflict_slug": "other-slug",
56515651
"client_count": 8000,
56525652
},
56535653
{
5654-
"status": "Enrolled",
5655-
"reason": "Qualified",
5656-
"app_name": "firefox_desktop",
5654+
"status": NimbusExperiment.FunnelStatus.ENROLLED,
5655+
"reason": NimbusExperiment.FunnelReason.QUALIFIED,
5656+
"app_name": APPLICATION_CONFIG_DESKTOP.app_name,
56575657
"branch": "control",
56585658
"conflict_slug": None,
56595659
"client_count": 2000,

0 commit comments

Comments
 (0)