Skip to main content

Shared pytest configuration and fixtures for Vivarium projects.

Project description

A pytest plugin providing the shared test configuration used across the Institute for Health Metrics and Evaluation’s Simulation Science team’s Vivarium projects: the slow/weekly/cluster markers and their --runslow / --runweekly / --slurm-project options, a memory- and CPU-aware ceiling on pytest -n auto xdist workers, and the no_gbd_cache fixture.

It is one of the libraries in the vivarium-suite monorepo.

Supported Python versions: 3.10, 3.11, 3.12

Installation

$ pip install pytest-vivarium

pytest discovers the plugin automatically via its pytest11 entry point; there is nothing to import or enable.

Documentation

Check out the documentation for the full list of markers, options, and fixtures.

Project details


Download files

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

Source Distribution

pytest_vivarium-0.1.2.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytest_vivarium-0.1.2-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file pytest_vivarium-0.1.2.tar.gz.

File metadata

  • Download URL: pytest_vivarium-0.1.2.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for pytest_vivarium-0.1.2.tar.gz
Algorithm Hash digest
SHA256 50dbfbe9e86e6987959d9b70a5d8be35ab815692ddbffce719bb22c82b3d2d17
MD5 c8d5d746fae91e878c771133fdc117c8
BLAKE2b-256 dfe323e9f588fdb53365a2eee0a2e35a539f4230106104c5db212b266f22b797

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytest_vivarium-0.1.2.tar.gz:

Publisher: release.yml on ihmeuw/vivarium-suite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pytest_vivarium-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_vivarium-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d3ed3d42d0ae65420d790b1d47a2dfd1a15f8946701614df1856675667aa746d
MD5 8d2f611fc5fcc97ac5021aeb8ed0c962
BLAKE2b-256 e5748909084e76516737893e76a97f7180558a5fa99a6fb48e2425f6bf0700e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytest_vivarium-0.1.2-py3-none-any.whl:

Publisher: release.yml on ihmeuw/vivarium-suite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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