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.20260729.0.tar.gz (848.2 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.20260729.0-py3-none-any.whl (278.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for osism-0.20260729.0.tar.gz
Algorithm Hash digest
SHA256 a7360ddb8234e086ae51049b9bbd9b3ccfa4de3e4210075159967da94c739ab0
MD5 75a086c63c0017b685524bcbcb52b664
BLAKE2b-256 d16b44e288479b14b936629cb27bc60f5411b36077541c691cf70fbe9e59eb34

See more details on using hashes here.

File details

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

File metadata

  • Download URL: osism-0.20260729.0-py3-none-any.whl
  • Upload date:
  • Size: 278.3 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.20260729.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ebf594f87df63aa852e3718fe1afae21f01abf1044eeb8d67f4dfa1bcbb5773a
MD5 f47b20bfbd9754ce4c46e0965d4b63c4
BLAKE2b-256 b7ca1b8ef8926d084b12503a70a64f6de570780fc01e1c7ada4da509ed2f3cef

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