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

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

Build:
DEFAULT BRANCH: develop
Ran 14 Mar 2019 04:22PM UTC
Files 396
Run time 24s
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 03:58PM UTC coverage: 64.066% (+0.005%) from 64.061%
TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests"

push

travis-ci

web-flow
Add type check in the `PortNamespace.serialize` method (#2602)

The serialization is called before the input validation, because the
type of the input might not be correct before serialization. This means
however that if a wrong value is passed for an input port, for example
the user by accident passes a `orm.Dict` instance to `metadata.options`
for a `CalcJob` instead of a plain dict, cryptic messages can be thrown
because the `serialize` method will assume the passed value is iterable.
To prevent this we add an explicit type check before serializing the
port value.

21915 of 34207 relevant lines covered (64.07%)

0.64 hits per line

Source Files on job 5510.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests")
  • Tree
  • List 0
  • Changed 8
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1276
  • Travis Job 5510.7
  • 3dd1a814 on github
  • Prev Job for TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests" on develop (#5507.7)
  • Next Job for TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests" on develop (#5513.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