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

hypothesis / h / 10381
69%
master: 97%

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

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.

2766 of 3983 relevant lines covered (69.45%)

0.69 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
h/api/views.py
1
100.0
h/app.py
1
100.0
h/badge/views.py
2
100.0
h/api/schemas.py
3
100.0
h/api/__init__.py
3
100.0
h/api/models/elastic.py
6
100.0
h/resources.py
7
100.0
h/feeds/render.py
7
100.0
h/views/__init__.py
8
100.0
h/views/client.py
9
100.0
h/api/resources.py
9
100.0
h/features.py
12
100.0
h/views/exceptions.py
13
100.0
h/views/main.py
15
100.0
h/streamer.py
Jobs
ID Job ID Ran Files Coverage
1 10381.1 19 Feb 2016 03:56PM UTC 0
69.45
Travis Job 10381.1
Source Files on build 10381
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #10381
  • cfc58627 on github
  • Prev Build on postgres-documents (#10380)
  • Next Build on postgres-documents (#10382)
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