-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: pages left to ballot on #7516
feat: pages left to ballot on #7516
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## feat/ad-dash #7516 +/- ##
===============================================
Coverage ? 88.84%
===============================================
Files ? 295
Lines ? 41320
Branches ? 0
===============================================
Hits ? 36709
Misses ? 4611
Partials ? 0 ☔ View full report in Codecov by Sentry. |
ietf/iesg/tests.py
Outdated
logged_in_request = self.client.get(url) | ||
telechats = logged_in_request.context["telechats"] | ||
self.assertGreater(len(telechats), 0, "Expected multiple telechats but received %d" % (len(telechats))) | ||
self.assertEqual(telechats[0]["ad_pages_left_to_ballot_on"], 383, "Expected a specific number of pages left to ballot on for this AD '%s'" % (username)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The returned value telechats[0]["ad_pages_left_to_ballot_on"]
varies on every test run due to (I'm guessing) race conditions in running tests. I tried moving lines 503-510 to the setUp
but this didn't make a reproducible value. Thoughts anyone?
ietf/iesg/tests.py
Outdated
@@ -167,7 +166,7 @@ def setUp(self): | |||
"conflrev": Document.objects.get(name="conflict-review-imaginary-irtf-submission"), | |||
"statchg": Document.objects.get(name="status-change-imaginary-mid-review"), | |||
"charter": Document.objects.filter(type="charter")[0], | |||
} | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stray whitespace?
Adds a 'pages left to ballot on' count for ADs for #6620