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

DemocracyClub / WhoCanIVoteFor / eceb273a-52e1-42a7-b65e-10901d5597f4
60%

Build:
DEFAULT BRANCH: master
Ran 25 Jun 2024 09:52AM UTC
Jobs 1
Files 162
Run time 1min
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:51AM UTC coverage: 60.119%. Remained the same
eceb273a-52e1-42a7-b65e-10901d5597f4

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.

1 of 2 new or added lines in 2 files covered. (50.0%)

2733 of 4546 relevant lines covered (60.12%)

0.6 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
34.67
0.0% wcivf/apps/people/management/commands/import_people.py
Jobs
ID Job ID Ran Files Coverage
1 eceb273a-52e1-42a7-b65e-10901d5597f4.1 25 Jun 2024 09:52AM UTC 162
60.12
CircleCI Job
Source Files on build eceb273a-52e1-42a7-b65e-10901d5597f4
  • Tree
  • List 162
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #ECEB273A...
  • 55aa7e06 on github
  • Prev Build on master (#2274D716...)
  • Next Build on master (#FF14AC94...)
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