loguru-caplog
Сaptures loguru logging output.
Source: Making things work with Pytest and caplog
Usage
from loguru_caplog import loguru_caplog as caplog
# `some_func` adds two numbers, and logs a warning if the first is < 1
def test_some_func_logs_warning(caplog):
assert some_func(-1, 3) == 2
assert "Oh no!" in caplog.text
Metadata
Release files for loguru-caplog 0.2.0
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 |
|---|---|---|---|---|
| loguru-caplog-0.2.0.tar.gz | 2.5 kB | Without provenance | Details for loguru-caplog-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| loguru_caplog-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for loguru_caplog-0.2.0-py3-none-any.whl |
Total release size: 5.5 kB
Release files / loguru-caplog-0.2.0.tar.gz
| Download URL | loguru-caplog-0.2.0.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ebc354a3e45b41498539bc71311b670668a81d3412de6f60ee74c9407a472ed
|
|
BLAKE2b-256 checksum How to use checksums |
6e2a3fe40a9d04601f05988fd43c26a9b98e17448664bcd7a5dcf547372e3311
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.12
|
Release files / loguru_caplog-0.2.0-py3-none-any.whl
| Download URL | loguru_caplog-0.2.0-py3-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1fb1e7afabf866de7b68bd728837e3bd0b03b69b915e9c3606fbd083fd4baaf8
|
|
BLAKE2b-256 checksum How to use checksums |
caf868a8c0234e5a12cff96f12da4eb5e36c50b55964bd500719eca31cb44a16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.12
|
Security for loguru-caplog 0.2.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.