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

aiidateam / aiida_core / 3863
74%

Build:
DEFAULT BRANCH: develop
Ran 21 Sep 2018 04:08PM UTC
Jobs 4
Files 388
Run time 8min
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
3863

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.

23361 of 35736 relevant lines covered (65.37%)

2.28 hits per line

Jobs
ID Job ID Ran Files Coverage
5 3863.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 21 Sep 2018 04:08PM UTC 0
60.03
Travis Job 3863.5
6 3863.6 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 21 Sep 2018 04:14PM UTC 0
54.88
Travis Job 3863.6
7 3863.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 21 Sep 2018 04:15PM UTC 0
58.92
Travis Job 3863.7
8 3863.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 21 Sep 2018 04:14PM UTC 0
53.78
Travis Job 3863.8
Source Files on build 3863
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3863
  • 949810e9 on github
  • Prev Build on develop (#3853)
  • Next Build on develop (#3875)
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