Skip to main content

pytest-datatest

Travis CI Build Status MIT License

The development version of datatest’s pytest integration.

WARNING:

  • This is the pytest-datatest development package. Typically, developers should only install this package if they are working on the pytest-datatest plugin itself.

  • Users are encouraged to use the automatically provided version of this plugin that ships with the main datatest package itself—not this development version.

Features

This simple plugin strips the leading “E “ prefix from lists of datatest differences when they appear in reported pytest errors. This lets users copy specific differences from the output and paste them into an allowance definition with minimal formatting.

Requirements

Installation

For Developers: Clone the git repository and use pip to perform an editable install from the cloned project directory:

git clone git@github.com:shawnbrown/pytest-datatest.git
pip install --no-deps --editable ./pytest-datatest

For Users: Don’t install this package—you don’t need it. This plugin is already bundled with datatest itself.

For Users With Special Requirements: If you aren’t a datatest or plugin developer but instead need bug-fixes or features that are not yet available from the main datatest project, you can install “pytest-datatest” via pip from PyPI:

pip install pytest-datatest

And if the version is PyPI isn’t new enough for your needs, you can install the plugin directly from the live GitHub repository (make sure to check that the build is “passing” before doing this):

pip install --upgrade https://github.com/shawnbrown/pytest-datatest/archive/master.zip

Usage

When installed, this development version automatically overrides datatest’s bundled pytest integration. If you want to revert back to the bundled plugin, simply uninstall this version.

You can disable this plugin with:

pytest -p no:datatest_devel

License

Distributed under the terms of the MIT license, “pytest-datatest” is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

Metadata

Release files for pytest-datatest 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-datatest 0.1.1
File Size Uploaded Provenance Actions
pytest-datatest-0.1.1.tar.gz 6.0 kB Without provenance Details for pytest-datatest-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pytest-datatest 0.1.1
File Interpreter ABI Platform Actions
pytest_datatest-0.1.1-py2.py3-none-any.whl Python 2, Python 3 none any Details for pytest_datatest-0.1.1-py2.py3-none-any.whl

Total release size: 13.6 kB

Release files / pytest-datatest-0.1.1.tar.gz

Download URL pytest-datatest-0.1.1.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6a84302730b25a5d74ea574af87a1299426614808a59be807bf2e2b565c58dd5
BLAKE2b-256 checksum
How to use checksums
bfeecd12ad598bc5034dc2f3906aa86d72f94c3a65959dc12a5909ac8181d757
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pytest_datatest-0.1.1-py2.py3-none-any.whl

Download URL pytest_datatest-0.1.1-py2.py3-none-any.whl
Size 7.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
8d8a0d50416e73fc04df89c556c8b4b7f99c904cf5df0a18c9ade9e4e430beff
BLAKE2b-256 checksum
How to use checksums
aa5deb005e1d13b1cd4bf563a45e9e87e83c9203c706949c0b9648059bde0bf2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pytest-datatest 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page