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

aiidateam / aiida-core / 7178 / 7
70%
develop: 70%

Build:
DEFAULT BRANCH: develop
Ran 03 Oct 2019 10:09PM UTC
Files 407
Run time 1min
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

03 Oct 2019 09:47PM UTC coverage: 69.303% (+0.02%) from 69.282%
TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests"

push

travis-ci

sphuber
Update delete node functionality to respect formalized graph traversal rules (#3367)

With the graph traversal rules for node deletion now well defined, the
`delete_nodes` utility is updated accordingly. Certain link traversal
flags had to be changed in the utility function as well as the `verdi`
command `verdi node delete`.

The new unit tests uncovered a problem with the backend utility function
`delete_nodes_and_connection` for the SqlAlchemy backend. This was itself
opening a new session to delete the nodes and links. Since the session
is not nested within the current test session, the deletions were not
effectuated in the latter resulting in `DetachedInstanceError`. By using
the `transaction` context manager of the backend instance, the session
will be properly nested.

22716 of 32778 relevant lines covered (69.3%)

0.69 hits per line

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