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

aiidateam / aiida_core / 6189
74%

Build:
DEFAULT BRANCH: develop
Ran 28 May 2019 07:02AM UTC
Jobs 4
Files 387
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
6189

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.

2 of 2 new or added lines in 1 file covered. (100.0%)

23840 of 32813 relevant lines covered (72.65%)

2.71 hits per line

Jobs
ID Job ID Ran Files Coverage
5 6189.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 28 May 2019 07:02AM UTC 0
66.45
Travis Job 6189.5
6 6189.6 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 28 May 2019 07:08AM UTC 0
66.4
Travis Job 6189.6
7 6189.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 28 May 2019 07:11AM UTC 0
69.32
Travis Job 6189.7
8 6189.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 28 May 2019 07:10AM UTC 0
69.26
Travis Job 6189.8
Source Files on build 6189
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6189
  • 9b5c015d on github
  • Prev Build on develop (#6185)
  • Next Build on develop (#6192)
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