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/.
Release files for pytest-invenio 4.0.2
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.2.tar.gz | 19.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_invenio-4.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 41.9 kB
Release files / pytest_invenio-4.0.2.tar.gz
| Download URL | pytest_invenio-4.0.2.tar.gz |
|---|---|
| Size | 19.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
987074bf8ee7f1c59ef41f96c3725940062a597f322387a59c9d10aeacd40afc
|
|
BLAKE2b-256 checksum How to use checksums |
bb8630e48972419e9b8aa51d9bd61ee247c076fb500d4bfba23fae5cfb124891
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Release files / pytest_invenio-4.0.2-py3-none-any.whl
| Download URL | pytest_invenio-4.0.2-py3-none-any.whl |
|---|---|
| Size | 22.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
85041625a0a4e626649fa1c2a318189b012c8c3223f8783a8534d829af30c4d7
|
|
BLAKE2b-256 checksum How to use checksums |
1d6c91620b499f54ca616cf141475388fb975e34f78fdbcaba9ceda40818ff32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|