python-oops-celery
==================

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
