https://forge.softwareheritage.org/source/swh-scheduler.git
Revision ecf38ebd67dba6636c6fdd1ec2373031608eeef2 authored by David Douard on 18 October 2019, 14:37:28 UTC, committed by David Douard on 18 October 2019, 14:37:28 UTC
This revision did fix tests for the scheduler itself, but broke all other
tests of scheduler dependent swh packages.

In this fix, we ensure we override the `app` in
swh.scheduler.celery_backend.config, since it is used by all
celery task declarations (via the @app.task() decorator).
1 parent 787c7a9
History
Tip revision: ecf38ebd67dba6636c6fdd1ec2373031608eeef2 authored by David Douard on 18 October 2019, 14:37:28 UTC
celery/tests: mostly revert e770eb30 to fix celery app initialization in tests
Tip revision: ecf38eb
File Mode Size
bin
data
docs
sql
swh
.gitignore -rw-r--r-- 129 bytes
.pre-commit-config.yaml -rw-r--r-- 933 bytes
AUTHORS -rw-r--r-- 112 bytes
CODE_OF_CONDUCT.md -rw-r--r-- 3.3 KB
CONTRIBUTORS -rw-r--r-- 14 bytes
LICENSE -rw-r--r-- 34.3 KB
LICENSE.Celery -rw-r--r-- 2.6 KB
MANIFEST.in -rw-r--r-- 182 bytes
Makefile -rw-r--r-- 163 bytes
README.md -rw-r--r-- 292 bytes
conftest.py -rw-r--r-- 479 bytes
mypy.ini -rw-r--r-- 505 bytes
pytest.ini -rw-r--r-- 54 bytes
requirements-swh.txt -rw-r--r-- 51 bytes
requirements-test.txt -rw-r--r-- 142 bytes
requirements.txt -rw-r--r-- 338 bytes
setup.py -rwxr-xr-x 2.2 KB
tox.ini -rw-r--r-- 825 bytes

README.md

back to top