Integration so that failed celery tasks trigger Oopses.
Depedencies
python-oops celery
To run the tests you also need:
python-testtools
Use
In your celery worker process run:
from oops_celery import setup_oops_reporter
setup_oops_reporter(config)
where config is the oops.Config object you wish to use.
Running Tests
Install testrepository and python-subunit and run
testr init testr run
or just run
python -m testtools.run oops_celery.tests.test_suite
Copyright (c) 2012, Canonical Ltd
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, version 3 only.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. GNU Lesser General Public License version 3 (see the file LICENSE).
Metadata
Release files for oops_celery 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| oops_celery-0.0.2.tar.gz | 4.4 kB | Without provenance | Details |
Release files / oops_celery-0.0.2.tar.gz
| Download URL | oops_celery-0.0.2.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7df67f29bedfe25d7323169cc80d082a53ce3b45715c65c50097f704452062d7
|
|
BLAKE2b-256 checksum How to use checksums |
77d24a1211305d4573fdf36fe46b974a202918e1ce7b1c6067bd27f325ab6938
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for oops_celery 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.