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

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

Build:
Build:
LAST BUILD BRANCH: feat/status-for-postponed-elections
DEFAULT BRANCH: master
Ran 25 Jun 2024 09:34AM 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:32AM UTC coverage: 60.119%. Remained the same
770fe4ac-f457-4a9c-b4fe-b969499e7118

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

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

Jobs
ID Job ID Ran Files Coverage
1 770fe4ac-f457-4a9c-b4fe-b969499e7118.1 25 Jun 2024 09:34AM UTC 0
60.12
CircleCI Job
Source Files on build 770fe4ac-f457-4a9c-b4fe-b969499e7118
Detailed source file information is not available for this build.
  • Back to Repo
  • CircleCI Build #770FE4AC...
  • Pull Request #1977
  • PR Base - master (#2274D716...)
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