Skip to main content

python-osism

Quay PyPi version PyPi license Documentation

Running unit tests

Install development dependencies and run the full unit test suite:

pipenv install --dev
pipenv run pytest

Run a single test module:

pipenv run pytest tests/unit/test_smoke.py

Running integration tests

The integration tests in tests/integration/ exercise the Celery/Redis task core (broker, queue routing, worker, result backend, Redis streams and locks) end-to-end. They require a reachable Redis and start a Celery worker from the same virtualenv; they are skipped automatically when Redis is not running.

docker run -d -p 6379:6379 redis:7-alpine
REDIS_HOST=localhost pipenv run pytest tests/integration

Warning: The suite mutates live state on the configured Redis. Most keys are per-run (UUID-based), but the task-lock test reads, writes and removes the fixed global key osism:task_lock on the selected REDIS_DB. Always point it at a disposable Redis (such as the throwaway container above); running it against a Redis shared with a real OSISM deployment would clobber an active operator lock.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

osism-0.20260723.0.tar.gz (844.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

osism-0.20260723.0-py3-none-any.whl (276.9 kB view details)

Uploaded Python 3

File details

Details for the file osism-0.20260723.0.tar.gz.

File metadata

  • Download URL: osism-0.20260723.0.tar.gz
  • Upload date:
  • Size: 844.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for osism-0.20260723.0.tar.gz
Algorithm Hash digest
SHA256 4e6ab70b4b6daf15cab5f52fef1d84e0a007bfc0a92a5aa1c82d3b5c00fcc67e
MD5 79220235b303f8b42bdab7c502eb6c3e
BLAKE2b-256 aea3466b3c05280b4155d0077df6238d72b5f27833fffdb048ed03c7ade2d73c

See more details on using hashes here.

File details

Details for the file osism-0.20260723.0-py3-none-any.whl.

File metadata

  • Download URL: osism-0.20260723.0-py3-none-any.whl
  • Upload date:
  • Size: 276.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for osism-0.20260723.0-py3-none-any.whl
Algorithm Hash digest
SHA256 80e10dc29d7eeb8810067fe34d7d9e6ad571fef8abf492964c6b983e33fe510c
MD5 b2f24dd0af9d018248c8793997fb5d50
BLAKE2b-256 8f38b3ad045dd7292b1c7434e0c51f053115dcc8220767802ff289a21f36ac2a

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page