Just screenshot allure report and send.
Project description
Just screenshot allure report and send.
usage:
pip install specious
from pathlib import Path
from specious.reports import allure_email_handler
result = Path(".").resolve().parent
allure_email_handler(results_dir=result.joinpath("allure-results"),
allure_config=dict(
protocol="http",
host="...",
port="...",
task="htms-automated-test"
),
email_config=dict(
sender="...",
pwd="...",
host="smtphm.qiye.163.com",
port=465,
smtp_ssl=True,
address="...",
subject="HTMS AUTOMATED REPORT",
))
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
specious-0.0.5.tar.gz
(5.7 kB
view details)
File details
Details for the file specious-0.0.5.tar.gz.
File metadata
- Download URL: specious-0.0.5.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ddbb9553b428056a9448500b000b15deac7cf886185daea44de95a4633ccadea
|
|
| MD5 |
2dd954e37dd571b54e294625b30859f7
|
|
| BLAKE2b-256 |
ea281709a5b9a0ec2365cf275a5c5da9f7deb308975e3b8d34f8d59c5c2cf5fa
|