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

alphagov / notifications-api / 1959 / 1
91%
master: 93%

Build:
Build:
LAST BUILD BRANCH: add-validation-message-to-s3-as-metadata
DEFAULT BRANCH: master
Ran 22 Jun 2016 02:30PM UTC
Files 66
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

22 Jun 2016 02:22PM UTC coverage: 91.135%. First build
auth_token=[secure]

push

travis-ci

leohemsted
Remove db.drop_all from notify_db session fixture to speed up tests

We were dropping all tables at the end of the test run, however the alembic_version table is not part of the metadata so was being persisted. Alembic then doesn't upgrade the database next test run, since the version appears up to date, so we were, in the notify_db_session fixture, recreating from MetaData (sqlalchemy models). This involves quite a costly comparison of the postgres system tables and the tables in models.py, which was adding half a second to each test that uses the notify_db_session fixture (virtually all of them).

2416 of 2651 relevant lines covered (91.14%)

0.91 hits per line

Source Files on job 1959.1 (auth_token=[secure])
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1959
  • Travis Job 1959.1
  • bffeaa77 on github
  • Next Job for auth_token=[secure] on test-refactor (#1964.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