pytest-fixtures
Common fixtures for pytest
To use, just install it and pytest will automatically detect and load all fixtures:
pip install pytest-fixtures
I suggest adding it to your test requirements in tox.ini or setup.py.
No Dependencies
This package does not depend on any other packages and never will. It uses standard libraries or uses run-time imports and therefore it is lightweight to add to any project. As for which external run-time dependency a fixture needs, that is documented here and shouldn’t matter as you would only use the fixtures that your project already has dependencies on.
Click Fixtures
Fixtures for Click <http://click.pocoo.org/>
def test_cli(cli_runner):
result = cli_runner.invoke( ... ) # Prints out stdout/stderr from result with headings
result = cli_runner.invoke_and_assert_exit(0, ... ) # Same as above and asserts exit code == 0
Links & Contact Info
Metadata
Release files for pytest-fixtures 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pytest-fixtures-0.0.6.tar.gz | 5.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_fixtures-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.3 kB
Release files / pytest-fixtures-0.0.6.tar.gz
| Download URL | pytest-fixtures-0.0.6.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ab9e98455f2305da19ca54f04bb1164697b9509e35389eb9bad184d46b22ab62
|
|
BLAKE2b-256 checksum How to use checksums |
97b457fcd4263ae5a08c45fdebc3ac9130d6c8c5356ddff92b7253591a919d29
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pytest_fixtures-0.0.6-py3-none-any.whl
| Download URL | pytest_fixtures-0.0.6-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1f8e390eb0deaa858b2ed8a8bd3c754a62feae49f6f1bf1479a020316dd8de7c
|
|
BLAKE2b-256 checksum How to use checksums |
094024563b667bb9210afbb0815b39a1d55a5d89870863ac288d30530405b5fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pytest-fixtures 0.0.6
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.