pytest-invenio
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.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytest_invenio-4.0.3.tar.gz | 20.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_invenio-4.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 42.5 kB
Release files / pytest_invenio-4.0.3.tar.gz
| Download URL | pytest_invenio-4.0.3.tar.gz |
|---|---|
| Size | 20.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2544370d8ba5d938f50715c9326aa6ea869ac9aea801d71fa4373e80283f4e1d
|
|
BLAKE2b-256 checksum How to use checksums |
37eedc0936abafc0fc29b4d1646a59053034a21e5cf3943d66c3f6fb43b4e97f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / pytest_invenio-4.0.3-py3-none-any.whl
| Download URL | pytest_invenio-4.0.3-py3-none-any.whl |
|---|---|
| Size | 22.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
685555693f8115447e28146cdd53ac7406bd83d6c28cc1b33bef1d36b5140488
|
|
BLAKE2b-256 checksum How to use checksums |
fbb6115f593d52cecdf1354aae5ce69aa0f10e4090cc01c110faf8d1ac627c4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|