Refactor of celery tasks.

- Aim to move the code that contacts providers into it's own module.
- Celery tasks now call this module to send to provider
- No exceptions caught in the new module. Celery tasks now use any exception to trigger a retry.
- tests moved about - new test directory for the new class, all tests from celery test module moved, excepting the retry logic.
This commit is contained in:
Martyn Inglis
2016-09-20 17:24:28 +01:00
parent ffdf3272fb
commit bd06b18684
5 changed files with 586 additions and 582 deletions

0
app/delivery/__init__.py Normal file
View File