Skip to main content

pytest-invenio

https://github.com/inveniosoftware/pytest-invenio/workflows/CI/badge.svg https://img.shields.io/coveralls/inveniosoftware/pytest-invenio.svg https://img.shields.io/pypi/v/pytest-invenio.svg

Pytest fixtures for Invenio.

The package offers a number of features to help test Invenio based applications:

  • Less boilerplate: Using the fixtures you can keep your conftest.py short and focused.

  • Database re-use: database tests are running inside a transaction which is rolled back after the test.

  • End-to-end testing: Selenium tests can easily be switched on/off, and in case of test failures a screenshot is taken (with possibility to output in the console in base64-encoding - useful on e.g. TravisCI).

  • Application configuration for testing (e.g. disable CSRF protection in forms and HTTPS requirement).

  • JSON decoding support in Flask test client for easier API testing.

  • Batteries included: further fixtures help with e.g. mail sending and CLI tests.

Further documentation is available on https://pytest-invenio.readthedocs.io/.

Metadata

Release files for pytest-invenio 4.1.0

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-invenio 4.1.0
File Size Uploaded Provenance Actions
pytest_invenio-4.1.0.tar.gz 20.3 kB Without provenance Details for pytest_invenio-4.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pytest-invenio 4.1.0
File Interpreter ABI Platform Actions
pytest_invenio-4.1.0-py3-none-any.whl Python 3 none any Details for pytest_invenio-4.1.0-py3-none-any.whl

Total release size: 43.2 kB

Release files / pytest_invenio-4.1.0.tar.gz

Download URL pytest_invenio-4.1.0.tar.gz
Size 20.3 kB
Tags Source
SHA-256 checksum
How to use checksums
92d866218bf9412e4d67314540243cd366214086422bc7ecf6f7a10d94c243da
BLAKE2b-256 checksum
How to use checksums
51d457da51122299f375538f4c07d8d4c6cc13d2f7f771938b9a6d4a2eaf92db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / pytest_invenio-4.1.0-py3-none-any.whl

Download URL pytest_invenio-4.1.0-py3-none-any.whl
Size 22.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c4cd9227b1c7d5b27720f965bb9e63ccf531a8fb902e912ea0aad5ec509cadb5
BLAKE2b-256 checksum
How to use checksums
76ab11d73588be2b9f8daec1cc3335fca7f6858f744665a9c95ee5d2004cbaf5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for pytest-invenio 4.1.0

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.

Release history Release notifications | RSS feed

This release

4.1.0 This release

2 release files No provenance

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