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

aiidateam / aiida_core / 5510
74%

Build:
DEFAULT BRANCH: develop
Ran 14 Mar 2019 04:13PM 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
5510

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.

23681 of 34205 relevant lines covered (69.23%)

2.57 hits per line

Jobs
ID Job ID Ran Files Coverage
5 5510.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 14 Mar 2019 04:13PM UTC 0
64.25
Travis Job 5510.5
6 5510.6 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 14 Mar 2019 04:19PM UTC 0
64.18
Travis Job 5510.6
7 5510.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 14 Mar 2019 04:22PM UTC 0
64.07
Travis Job 5510.7
8 5510.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 14 Mar 2019 04:22PM UTC 0
64.0
Travis Job 5510.8
Source Files on build 5510
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5510
  • 3dd1a814 on github
  • Prev Build on develop (#5507)
  • Next Build on develop (#5513)
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