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

aiidateam / aiida_core / 3863 / 8
74%
develop: 74%

Build:
DEFAULT BRANCH: develop
Ran 21 Sep 2018 04:14PM UTC
Files 388
Run time 39s
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

21 Sep 2018 03:58PM UTC coverage: 53.785% (-0.4%) from 54.137%
TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests"

push

travis-ci

sphuber
Add unit test for duplicate node UUID migration for Django

We define a special class `TestMigrations` that can be used to test
migrations for the Django backend. A test that implements this class
defines the starting revision and the migration it will apply and the
`setUpBeforeMigration` method, which allows to add data before the
migration is applied.

We apply this concept here where we migrate to the penultimate, as of
writing migration, insert nodes with duplicate UUIDs, apply the fix
that would be run manually by the user to fix this problem, before the
actual migration is applied. Afterwards, we verify that the deduplication
executed before the migration had the desired and expected effect.

19220 of 35735 relevant lines covered (53.78%)

0.54 hits per line

Source Files on job 3863.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests")
  • Tree
  • List 0
  • Changed 69
  • Source Changed 10
  • Coverage Changed 67
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 16
  • Travis Job 3863.8
  • 949810e9 on github
  • Prev Job for TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests" on develop (#3853.8)
  • Next Job for TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests" on develop (#3875.7)
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