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

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.0.tar.gz (18.8 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.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytest_vivarium-0.1.0.tar.gz
  • Upload date:
  • Size: 18.8 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.0.tar.gz
Algorithm Hash digest
SHA256 b051e5dc58b81e14a6d44b0e69a770fad2d9f8fc8091b46c461d05a0e684ba55
MD5 609912bd32e17fa38617563f0160ca33
BLAKE2b-256 8a843ac88d0496143e3dde0dcaf0156e6b0c88f63b711cf5a96815cb02f258db

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytest_vivarium-0.1.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_vivarium-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8f91d86db1199947b4189671ab8fe66094d350cc70538a01d8e0e8f67a67d102
MD5 d84b953c667e8ce8f3642a0e8e32c652
BLAKE2b-256 cd188f52eae8f8a814f8207f218cb72daf9434f97dd417da0941ac6fcad3339c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytest_vivarium-0.1.0-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