pytest-zulip
Pytest report plugin for Zulip
Allow to send notification on Zulip chat product.
installation
pip install pytest-zulip
Configure via env var
ZULIP_URL="https://x.zulipchat.com/api/v1/messages"
ZULIP_BOT_EMAIL_ADDRESS="bot@x.zulipchat.com"
ZULIP_BOT_API_KEY="API_KEY"
ZULIP_TOPIC="TOPIC"
ZULIP_STREAM="STREAM"
Optional:
ZULIP_ELLIPSIS_CHAR="…"
ZULIP_ONLY_ON_FAILED=1
Add option to send message
pytest --notify-zulip
Modify content via hook
def pytest_zulip_create_content(session: Session, exitstatus: Union[int, ExitCode]) -> str:
reporter = session.config.pluginmanager.get_plugin('terminalreporter')
return str(reporter.stats.get('passed', []))
Dev
Change version
edit
pytest_zulip/__init__.py
commit
git commit -m "v0.1.0"
tag
git tag v0.1.0
Build package
python setup.py sdist bdist_wheel
pip install twine
twine upload dist/*
Metadata
Release files for pytest-zulip 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-zulip-0.2.1.tar.gz | 4.0 kB | Without provenance | Details for pytest-zulip-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytest_zulip-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for pytest_zulip-0.2.1-py3-none-any.whl |
Total release size: 9.5 kB
Release files / pytest-zulip-0.2.1.tar.gz
| Download URL | pytest-zulip-0.2.1.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
12b2691a9676b99f92e897b2841812ec44004d34176c1675b1092b1f0c6076b0
|
|
BLAKE2b-256 checksum How to use checksums |
418d6b7bdf09818410b893802d6d65e8f75cd9f9d56e1433fc1d6cc21091285f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.3
|
Release files / pytest_zulip-0.2.1-py3-none-any.whl
| Download URL | pytest_zulip-0.2.1-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
819be8cc1938c53a39aa93ee3f0fc88197f2e1324a4606464aceb0741c2a88ae
|
|
BLAKE2b-256 checksum How to use checksums |
4fe5ad61e55ca2332d545b587205cb8101826e5e489d4de56de134c8ca73f5ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.3
|
Security for pytest-zulip 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.