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

reanahub / reana-server / 893
53%

Build:
DEFAULT BRANCH: master
Ran 01 May 2020 11:56AM UTC
Jobs 1
Files 18
Run time 2s
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
893

push

travis-ci

mvidalgarcia
tests: grant/revoke access token

tests: provide correct config to test flask app

* Stops using `console_script` to define `reana-admin` commands
  as this was creating a new Flask application with its own db
  session, which makes testing difficult.

* Depends on https://github.com/reanahub/pytest-reana/pull/60 which
  avoids duplicating the session object.

* REANA_SQLALCHEMY_DATABASE_URI is now defined in `run_tests.sh` because
  it needs to be setted before the Python modules are loaded, and this is
  because it is a module level defined variable (REANA-DB is not Flask
  aware, therefore we cannot dinamically change its value). This was not
  happening before because we had a duplicated session which would be
  created as pytest fixture with the Flask config
  `SQLALCHEMY_DATABASE_URI`, however this solution created more problems
  leading to inconsistencies in tests (double session).

Co-authored-by: Diego Rodriguez <diego.rodriguez@cern.ch>

698 of 1249 relevant lines covered (55.88%)

0.56 hits per line

Jobs
ID Job ID Ran Files Coverage
1 893.1 01 May 2020 11:56AM UTC 0
55.88
Travis Job 893.1
Source Files on build 893
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #893
  • 9b29a6e1 on github
  • Prev Build on master (#887)
  • Next Build on master (#902)
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