Skip to content

feat: pages left to ballot on#7516

Merged
rjsparks merged 13 commits intoietf-tools:feat/ad-dashfrom
holloway:ad-pages-left-6620
Aug 9, 2024
Merged

feat: pages left to ballot on#7516
rjsparks merged 13 commits intoietf-tools:feat/ad-dashfrom
holloway:ad-pages-left-6620

Conversation

@holloway
Copy link
Copy Markdown
Contributor

@holloway holloway commented Jun 10, 2024

Adds a 'pages left to ballot on' count for ADs for #6620

@holloway holloway changed the title feat: Ad pages left 6620 feat: pages left to ballot on Jun 10, 2024
@holloway holloway requested a review from rjsparks June 10, 2024 04:50
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (feat/ad-dash@786ae3e). Learn more about missing BASE report.

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.
📢 Have feedback on the report? Share it here.

Comment thread 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))
Copy link
Copy Markdown
Contributor Author

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?

Comment thread ietf/iesg/tests.py Outdated
"statchg": Document.objects.get(name="status-change-imaginary-mid-review"),
"charter": Document.objects.filter(type="charter")[0],
}
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stray whitespace?

@holloway holloway marked this pull request as ready for review June 24, 2024 20:14
@rjsparks rjsparks changed the base branch from main to feat/ad-dash August 9, 2024 16:27
@rjsparks rjsparks merged commit 414fcab into ietf-tools:feat/ad-dash Aug 9, 2024
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants