• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

DemocracyClub / WhoCanIVoteFor / 770fe4ac-f457-4a9c-b4fe-b969499e7118 / 1
60%
master: 60%

Build:
Build:
LAST BUILD BRANCH: fix-cancelled20260122
DEFAULT BRANCH: master
Ran 25 Jun 2024 09:34AM UTC
Files 162
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Jun 2024 09:32AM UTC coverage: 60.119%. Remained the same
770fe4ac-f457-4a9c-b4fe-b969499e7118.1

Pull #1977

circleci

VirginiaDooley
Handle absence of some fields in objects

When running python manage.py import_ballots for the first time on a fresh DB, I ran into exceptions because these fields weren't present for some of the fetched data.

This now treats these fields as optional, and falls back to reasonable default behaviours if they're absent.

This can be tested by following the database setup steps of the README without this change, observing errors, then trying again with these patches and observing success.
Pull Request #1977: Handle absence of some fields in objects

2733 of 4546 relevant lines covered (60.12%)

0.6 hits per line

Source Files on job 770fe4ac-f457-4a9c-b4fe-b969499e7118.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 770
  • CircleCI Build #
  • a5e0758d on github
  • Prev Job for on hotfix/optional-fields (#2274d716-fd02-4bb2-b406-439f5a5c5395.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc