Send report on Zulip
Project description
pytest-zulip
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"
Add option to send message
pytest --notify
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', []))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pytest-zulip-0.1.0.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for pytest_zulip-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f527dbe8e510163339d5e37ee05ecf972fa585dfba475e55b58e5b5802d1a39 |
|
MD5 | e192b530e3f4bb386b37f0443c065153 |
|
BLAKE2b-256 | dd7331718fbe942e8d937008a9829c08dfc71b87a8f5a83d642f8118ca61d865 |