Skip to main content

OSISM manager interface

Project description

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.

Project details


Release history Release notifications | RSS feed

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.20260721.0.tar.gz (745.1 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.20260721.0-py3-none-any.whl (276.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for osism-0.20260721.0.tar.gz
Algorithm Hash digest
SHA256 d826c5f0977a1ad022a6e6d7ac5eef06e1ad572a75babe5feaeb22cc2a551a90
MD5 39f056c5c1826012e007891dcdc3fa5d
BLAKE2b-256 513dc4605989673c8da0717dbfdcffeb396372df6b58e7a4ddd08098b80ded04

See more details on using hashes here.

File details

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

File metadata

  • Download URL: osism-0.20260721.0-py3-none-any.whl
  • Upload date:
  • Size: 276.5 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.20260721.0-py3-none-any.whl
Algorithm Hash digest
SHA256 470ca1e0bf5a138b0e2ae83aa367dbe73e7b73ac11cb4d0ec0cc62dad04db77d
MD5 f8ebd56dba24bd9b9c2370a3b3855fd1
BLAKE2b-256 3ae763f3beb340c077b35b65fb0882b00b63b5eb508ada5b18c4ed5dc1f79644

See more details on using hashes here.

Supported by

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