Skip to main content

Pytest report plugin for send HTML report on object-storage

Project description

pytest-html-object-storage

Pytest report plugin for send HTML report on object-storage

Allow to send HTML report on object-storage.

Implementations

  • MinIO (tested with Scaleway)
  • Swift (tested with OVH)

installation

pip install pytest-html-object-storage

Configure via env var

Common

OBJECT_STORAGE_ENDPOINT="localhost:9000"
OBJECT_STORAGE_BUCKET="bucket"
OBJECT_STORAGE_USERNAME="admin"
OBJECT_STORAGE_PASSWORD="password"
OBJECT_STORAGE_REGION_NAME=""

Common Optional

OBJECT_STORAGE_POLICY="private" // public-read
OBJECT_STORAGE_RETENTION="30" // day unit

Specific MinIO

Optional

OBJECT_STORAGE_SECURE="false"
OBJECT_STORAGE_PROVIDER="default" // scaleway

Specific Swift

OBJECT_STORAGE_TENANT_ID=""
OBJECT_STORAGE_TENANT_NAME=""

Add option to send HTML report

MinIO

pytest --store-minio

Swift

pytest --store-swift

Dev

Change version

edit

pytest_html_object_storage/__init__.py

commit

git commit -m "v0.1.0"

tag

git tag v0.1.0

Build package

python -m build
twine upload dist/*

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

pytest-html-object-storage-0.2.1.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file pytest-html-object-storage-0.2.1.tar.gz.

File metadata

File hashes

Hashes for pytest-html-object-storage-0.2.1.tar.gz
Algorithm Hash digest
SHA256 6ee071ac82da3aeb9d40803667a3665eb03479a4219c16dffab32987bbbc89b0
MD5 c6169460c9932946a60de0abd0a20b3a
BLAKE2b-256 03df5b5d5c301ee56ce49787344effb67e220d11296ccbbf8eb9ab8b145fbc66

See more details on using hashes here.

File details

Details for the file pytest_html_object_storage-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_html_object_storage-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 79bd9cf024fd32c67eba4417affaf14345bf55706ba4325f8df61420cd7c28b1
MD5 4d9c0b42f1f6524e5ae77fbc21e87130
BLAKE2b-256 d1fa8e0cab2a806e6771cfbdcc655166b01a3b93c1c4f083f318b9e604b968ea

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page