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

hypothesis / h / 10379
69%
master: 97%

Build:
Build:
LAST BUILD BRANCH: realtime-update-v1-h-only-1
DEFAULT BRANCH: master
Ran 19 Feb 2016 03:17PM UTC
Jobs 1
Files 101
Run time 22s
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

pending completion
10379

push

travis-ci

chdorner
Try to find annotation before importing as a new one

We sort annotations that we want to import in descending `updated` order.
Which means that when we import annotation X on the first run, and this
annotation gets updated before the second run, we will have to try and
find annotations, and on success update annotation X instead of creating
a new one which would lead to a unique constraint error on the `id`
column.

This use case needs to be handled as we want to run the migration
multiple times to ensure we have all the new and updated annotations
correctly migrated to Postgres.

2824 of 4018 relevant lines covered (70.28%)

0.7 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
h/api/views.py
3
100.0
h/app.py
5
100.0
h/api/models/document.py
17
100.0
h/client.py
Jobs
ID Job ID Ran Files Coverage
1 10379.1 19 Feb 2016 03:17PM UTC 0
70.28
Travis Job 10379.1
Source Files on build 10379
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #10379
  • b504d313 on github
  • Prev Build on postgres-documents (#10305)
  • Next Build on postgres-documents (#10380)
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