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

aiidateam / aiida_core / 5507
74%

Build:
DEFAULT BRANCH: develop
Ran 14 Mar 2019 01:43PM UTC
Jobs 4
Files 396
Run time 10min
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
5507

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.

24050 of 34200 relevant lines covered (70.32%)

2.56 hits per line

Jobs
ID Job ID Ran Files Coverage
5 5507.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 14 Mar 2019 01:43PM UTC 0
64.24
Travis Job 5507.5
6 5507.6 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 14 Mar 2019 01:49PM UTC 0
64.18
Travis Job 5507.6
7 5507.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 14 Mar 2019 01:50PM UTC 0
64.06
Travis Job 5507.7
8 5507.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 14 Mar 2019 01:53PM UTC 0
64.0
Travis Job 5507.8
Source Files on build 5507
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5507
  • 1e1c875f on github
  • Prev Build on develop (#5499)
  • Next Build on develop (#5510)
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