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",
))
Release files for specious 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| specious-0.0.5.tar.gz | 5.7 kB | Details |
Release files / specious-0.0.5.tar.gz
| Download URL | specious-0.0.5.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ddbb9553b428056a9448500b000b15deac7cf886185daea44de95a4633ccadea
|
|
BLAKE2b-256 checksum How to use checksums |
ea281709a5b9a0ec2365cf275a5c5da9f7deb308975e3b8d34f8d59c5c2cf5fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|