Skip to main content

Pytest fixtures for REANA.

Project description

https://img.shields.io/pypi/pyversions/pytest-reana.svg https://img.shields.io/travis/reanahub/pytest-reana.svg https://readthedocs.org/projects/pytest-reana/badge/?version=latest https://img.shields.io/coveralls/reanahub/pytest-reana.svg https://badges.gitter.im/Join%20Chat.svg https://img.shields.io/github/license/reanahub/pytest-reana.svg

About

pytest-REANA is a component of the REANA reusable and reproducible research data analysis platform. It provides pytest fixtures and test utilities.

Features

  • pytest fixtures

  • mocking OpenAPI client with request format validation

  • mocking Advanced Message Queuing Protocol consumers and producers

  • mocking Celery tasks

  • mocking file system workspace access

  • mocking database access

  • includes sample workspace directory

Version 0.6.0 (2019-12-19)

  • Adds fixtures for secrets store.

  • Centralises test requirements.

  • Adds Python 3.8 support.

Version 0.5.0 (2019-04-16)

  • Makes workspace path configurable for the sample_workflow_workspace fixture through the path parameter.

  • Adds sample_serial_workflow_in_db fixture.

  • Exposes previously hidden sample_yadage_workflow_in_db fixture.

  • Adds missing database session close in session fixture.

  • Adds helpers to represent starting and requeueing job conditions, sample_condition_for_starting_queued_workflows and sample_condition_for_requeueing_workflows.

Version 0.4.1 (2018-11-06)

  • Adds directory including sample workspace data.

Version 0.4.0 (2018-11-06)

  • Initial public release.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest-reana-0.7.0.dev20200430.tar.gz (47.5 kB view details)

Uploaded Source

Built Distribution

pytest_reana-0.7.0.dev20200430-py3.8.egg (32.3 kB view details)

Uploaded Source

File details

Details for the file pytest-reana-0.7.0.dev20200430.tar.gz.

File metadata

  • Download URL: pytest-reana-0.7.0.dev20200430.tar.gz
  • Upload date:
  • Size: 47.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7

File hashes

Hashes for pytest-reana-0.7.0.dev20200430.tar.gz
Algorithm Hash digest
SHA256 3ec4a9e697b911dd35661a0dd26b251bd33c7467c994c7835030af84a46b86ef
MD5 eddd769aff2d62d2f43b59b3aebe6220
BLAKE2b-256 2c56ec96ac8498b10f1d9cafba146ab78556f5bf79e13a993fa32113f693bef7

See more details on using hashes here.

File details

Details for the file pytest_reana-0.7.0.dev20200430-py3.8.egg.

File metadata

  • Download URL: pytest_reana-0.7.0.dev20200430-py3.8.egg
  • Upload date:
  • Size: 32.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7

File hashes

Hashes for pytest_reana-0.7.0.dev20200430-py3.8.egg
Algorithm Hash digest
SHA256 e88eef1206049b05fa1d430b63276774e132a491e4c6209db4b936847d70e889
MD5 2b4fe2fd42822aef7af9c70b03fbe2c5
BLAKE2b-256 9b93209858c6505aa4b0cbd1870a31e10af35ee4f32cabb4239f1a1d1f034e60

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page