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

aiidateam / aiida_core / 4751 / 5
70%
develop: 74%

Build:
Build:
LAST BUILD BRANCH: fix_3032_doc_working_importexport
DEFAULT BRANCH: develop
Ran 11 Dec 2018 11:15AM UTC
Files 411
Run time 35s
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

11 Dec 2018 11:03AM UTC coverage: 62.018% (+0.03%) from 61.991%
TEST_AIIDA_BACKEND=django TEST_TYPE="tests"

push

travis-ci

sphuber
Add test for availability of sudo in quicksetup (#2333)

Quicksetup needs to access the Postgres database, but does not
know anything about the system setup. It initially tries to
see if it is the postgres superuser, but if it is not, it tries
to become the postgres superuser via sudo. This is the backstop
position and relies on the user having a modern Linux-like system.
If, however, the sudo command is not available to this user at all
(for example, perhaps on an HPC cluser), an error will be raised and
quicksetup will fail ungracefully. This commits add a test to see
if sudo can be found before attempting to use it. If it is not, no
attempt is made, and the final manual setup message is printed.

- Add simple check of the availability of `sudo` command to the user.
- Add warning message if `sudo` cannot be found.
- Update `click.echo` calls to the AiiDA `echo` function.
- Update selected messages to 'warning' type messages.

22868 of 36873 relevant lines covered (62.02%)

0.62 hits per line

Source Files on job 4751.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests")
  • Tree
  • List 0
  • Changed 20
  • Source Changed 1
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 715
  • Travis Job 4751.5
  • 454bfc3c on github
  • Prev Job for TEST_AIIDA_BACKEND=django TEST_TYPE="tests" on provenance_redesign (#4747.5)
  • Next Job for TEST_AIIDA_BACKEND=django TEST_TYPE="tests" on provenance_redesign (#4756.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