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

alphagov / notifications-admin / 3073 / 1
85%
master: 94%

Build:
Build:
LAST BUILD BRANCH: fix-days-provider-history
DEFAULT BRANCH: master
Ran 16 May 2016 08:19AM UTC
Files 53
Run time 2s
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

15 May 2016 09:11PM UTC coverage: 85.235% (+0.1%) from 85.132%
auth_token=[secure]

push

travis-ci

quis
Handle files that can’t be interpreted as spreadsheets

There shouldn’t be a case where we see a `ValueError` on upload any
more. Our file handling should be robust enough to deal with whatever is
thrown at it.

This commit:
- adds test files with bad data (PNG files with their extensions changed to look
  like spreadsheets)
- catches whatever exceptions are raised by trying to parse these files
- returns a helpful flash message to the user

Anything else should raise a `500`, eg if the file can’t be uploaded to S3.

1778 of 2086 relevant lines covered (85.23%)

0.85 hits per line

Source Files on job 3073.1 (auth_token=[secure])
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3073
  • Travis Job 3073.1
  • 7bbc307a on github
  • Prev Job for auth_token=[secure] on accept-common-spreadsheet-formats (#3072.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