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

DemocracyClub / WhoCanIVoteFor / c1deb23a-9120-42f8-895e-bde4235ced85 / 1
60%
master: 60%

Build:
Build:
LAST BUILD BRANCH: scaleup20260518
DEFAULT BRANCH: master
Ran 25 Jun 2024 09:32AM 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:29AM UTC coverage: 59.872%. Remained the same
c1deb23a-9120-42f8-895e-bde4235ced85.1

push

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.

2717 of 4538 relevant lines covered (59.87%)

0.6 hits per line

Source Files on job c1deb23a-9120-42f8-895e-bde4235ced85.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 0
  • CircleCI Build #
  • ea480083 on github
  • Prev Job for on hotfix/optional-fields (#4aecbc5c-8816-4234-828a-06eace497f9b.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