pytest_defer - A "defer" fixture for pytest
def test_example(defer):
# All functions appended to defer will execute at test end in reverse order
instance1 = spin_instance()
defer.append(delete_instance, instance1) # called second
instance2 = spin_instance()
defer.append(delete_instance, instance2, timeout=30) # called first
# Test code using instance1 & instance2
...
Development
Me (@tebeka) is playing around with uv for this project.
Metadata
Release files for pytest_defer 0.2.1
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 | Actions |
|---|---|---|---|---|
| pytest_defer-0.2.1.tar.gz | 2.9 kB | Without provenance | Details for pytest_defer-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytest_defer-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for pytest_defer-0.2.1-py3-none-any.whl |
Total release size: 6.2 kB
Release files / pytest_defer-0.2.1.tar.gz
| Download URL | pytest_defer-0.2.1.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
929410399b9cdd67081b8fc930cfe3c883315140417098b7b57a8394cde8c1ce
|
|
BLAKE2b-256 checksum How to use checksums |
5af7bc26befedff3c76fe1c1386139542528050d9b29dc0205e482f94a09b642
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.1
|
Release files / pytest_defer-0.2.1-py3-none-any.whl
| Download URL | pytest_defer-0.2.1-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f34099a20eb96ce8b2f9e13fb958d6faf8babeceb4c5f5e95831dfb09efb0377
|
|
BLAKE2b-256 checksum How to use checksums |
950be3264820559a8e26e27794d87f683ed0772d002be6572f681124880fdd1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.1
|
Security for pytest_defer 0.2.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.