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

aiidateam / aiida_core / 4928 / 5
70%
develop: 74%

Build:
Build:
LAST BUILD BRANCH: fix_3032_doc_working_importexport
DEFAULT BRANCH: develop
Ran 18 Jan 2019 08:35AM UTC
Files 397
Run time 33s
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

18 Jan 2019 08:22AM UTC coverage: 63.345% (-0.03%) from 63.373%
TEST_AIIDA_BACKEND=django TEST_TYPE="tests"

push

travis-ci

sphuber
Implement functionality to export and import `Log` entries. (#2393)

The native logging of python is extended with a `DbLogHandler` that
will, when it is configured for a specific AiiDA entity (a Node, Group
or any other database entity), store a copy of the record in the `DbLog`
table with a reference to the entity it belongs to. Since the entities
do not necessarily live in the same table, a foreign key could not be
used, so instead the primary key was stored as well. However, when
exporting and importing entities and their log messages, the entities
would get new primary keys, which would orphan the log messages. The
attribute that is persistent across exporting and importing is the UUID.
Therefore the reference attribute for log entries to their entities has
been changed from the `pk` to the `uuid`.

21889 of 34555 relevant lines covered (63.35%)

0.63 hits per line

Source Files on job 4928.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests")
  • Tree
  • List 0
  • Changed 14
  • Source Changed 12
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 854
  • Travis Job 4928.5
  • c0fba2e3 on github
  • Prev Job for TEST_AIIDA_BACKEND=django TEST_TYPE="tests" on provenance_redesign (#4926.5)
  • Next Job for TEST_AIIDA_BACKEND=django TEST_TYPE="tests" on provenance_redesign (#4940.5)
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

© 2025 Coveralls, Inc