Pytest fixtures for REANA.
Project description
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.
Useful links
Changes
Version 0.8.0 (2021-11-22)
Adds nested Yadage workflow specification fixture.
Adds empty workflow workspaces for sample workflows by default.
Adds internal representation of a scatter-gather Snakemake workflow fixture.
Changes tmp_shared_volume_path fixture to be configurable through environment variable.
Changes fixtures to run with the full workspace path stored in the database.
Removes support for Python 2.
Version 0.7.2 (2021-07-02)
Changes internal dependencies to remove click.
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
File details
Details for the file pytest-reana-0.8.0.tar.gz
.
File metadata
- Download URL: pytest-reana-0.8.0.tar.gz
- Upload date:
- Size: 32.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af26b3b00e81efc3b1e9eaf3eac897e46f2f81d9492044786bfcc6437a1aee70 |
|
MD5 | f69fb91f40291f9cf901250d9c176179 |
|
BLAKE2b-256 | a9015431fc260816eeeb0e6d18d37f6a6d8da3f0b6a8126f95b0a0025f579e29 |