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

aiidateam / aiida_core / 5507 / 5
74%
develop: 74%

Build:
DEFAULT BRANCH: develop
Ran 14 Mar 2019 01:43PM UTC
Files 396
Run time 22s
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

14 Mar 2019 01:29PM UTC coverage: 64.245% (-0.03%) from 64.277%
TEST_AIIDA_BACKEND=django TEST_TYPE="tests"

push

travis-ci

web-flow
Add unit tests for super call check in `Process.define` (#2597)

Sub classes of `Process` such as `CalcJob` and `WorkChain` will
themselves be sub classed by users and they will have to implement the
`define` classmethod. It is crucial that the `super` is called here or
the instance will not work. To ensure this, there is a check in the
`Process.spec` class method, which verifies that the spec is set, which
indirectly means the `define` of the base class is called. This commit
adds two unit tests for `WorkChain` and `CalcJob` to make sure the
engine throws an `AssertionError` otherwise.

21973 of 34202 relevant lines covered (64.24%)

0.64 hits per line

Source Files on job 5507.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests")
  • Tree
  • List 0
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1274
  • Travis Job 5507.5
  • 1e1c875f on github
  • Prev Job for TEST_AIIDA_BACKEND=django TEST_TYPE="tests" on develop (#5499.5)
  • Next Job for TEST_AIIDA_BACKEND=django TEST_TYPE="tests" on develop (#5510.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

© 2026 Coveralls, Inc