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)
  • OBS (tested with Orange Flexible Engine)

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

OBS

pytest --store-obs

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.1.2.tar.gz (6.8 kB view hashes)

Uploaded Source

Built Distribution

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