view tox.ini @ 8817:233ba8198781

celery: use explicit task names - avoid automatic naming with "kallithea.lib.celerylib." prefix We wrap async functions in a local f_async wrapper, defined in kallithea/lib/celerylib/__init__.py . For a function Foo.X, even though we changed the wrapper's __name__ to X, the tasks would be named kallithea.lib.celerylib.X , without using the actual module name of X for namespacing. Drop modifying __name__, and just specify the name explicitly, without trying to namespace it.
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 06 Jan 2021 22:43:43 +0100
parents ab30729c735c
children
line wrap: on
line source

[tox]
minversion = 1.8
envlist = py27-pytest

[testenv]
setenv =
    PYTHONHASHSEED = 0
deps =
    -r{toxinidir}/dev_requirements.txt
    python-ldap
    python-pam
commands =
    pytest: py.test {posargs}