Skip to main content

Pytest fixtures for REANA.

Project description

https://img.shields.io/pypi/pyversions/pytest-reana.svg https://github.com/reanahub/pytest-reana/workflows/CI/badge.svg https://readthedocs.org/projects/pytest-reana/badge/?version=latest https://codecov.io/gh/reanahub/pytest-reana/branch/master/graph/badge.svg https://badges.gitter.im/Join%20Chat.svg https://img.shields.io/github/license/reanahub/pytest-reana.svg https://img.shields.io/badge/code%20style-black-000000.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

Usage

The detailed information on how to install and use REANA can be found in docs.reana.io.

Changes

Version 0.8.0 (UNRELEASED)

  • Makes the tmp_shared_volume_path configurable through environment variable.

  • Creates empty workflow workspaces for sample workflows by default.

Version 0.7.1 (2021-03-17)

  • Adds support for Python 3.9.

  • Fixes minor code warnings.

  • Fixes installation by upgrading REANA-DB version.

Version 0.7.0 (2020-10-20)

  • Adds new __reana database schema for db fixture.

  • Fixes a problem related to duplicated database session.

  • Changes code formatting to respect black coding style.

  • Changes documentation to single-page layout.

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.8.0a4.tar.gz (31.6 kB view details)

Uploaded Source

File details

Details for the file pytest-reana-0.8.0a4.tar.gz.

File metadata

  • Download URL: pytest-reana-0.8.0a4.tar.gz
  • Upload date:
  • Size: 31.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.2

File hashes

Hashes for pytest-reana-0.8.0a4.tar.gz
Algorithm Hash digest
SHA256 30570f16d5524aa53a3b53f3232252f3525b385382f7a67effa42b30aab74e92
MD5 e34d8950d63dd86fd9fad64d054d9140
BLAKE2b-256 d245a4fea491e21289e927cb2592e0f24b70bad8314d9b9d5889e36d361b2839

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