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

aiidateam / aiida_core / 6189 / 7
74%
develop: 74%

Build:
DEFAULT BRANCH: develop
Ran 28 May 2019 07:11AM UTC
Files 387
Run time 19s
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

28 May 2019 06:47AM UTC coverage: 69.316% (-0.01%) from 69.326%
TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests"

push

travis-ci

web-flow
Ensure `mtime` update is triggered for Django (#2935)

The `ModelWrapper` utility class ensures that a database model instance
is automatically saved if a model field is updated and the instance is
already stored. This prevents the implementation from having to call
`save` manually everytime a field is updated. The Django implementation
uses the `update_fields` keyword of the `save` method, to update only
the field affected. However, this circumvents the `auto_now` of the
`mtime` field. This bug is currently not visible, because in the model
wrapper currently also always updates the node version after a model
field is updated of a stored instance. This, however, uses a normal
`save` and so does properly update the `mtime`. Once this updating of
the node version would have been removed, this bug will be revealed.

22746 of 32815 relevant lines covered (69.32%)

0.69 hits per line

Source Files on job 6189.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests")
  • Tree
  • List 0
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1860
  • Travis Job 6189.7
  • 9b5c015d on github
  • Prev Job for TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests" on develop (#6185.7)
  • Next Job for TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests" on develop (#6192.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