view pytest.ini @ 8835:385d1b31f386

celery: upgrade to Celery 5.0 ... and adjust for Click API Celery 5 has apparently no relevant API or config changes. Celery is however switching to click. run_from_argv goes away, and there is no simple way to do as before and start the worker with our Celery app but still use Celery's own command line parser. Apply hacks to make sure it still is possible to run like: kallithea-cli celery-run -c my.ini -- --help kallithea-cli celery-run -c my.ini -- --loglevel=ERROR broker_url=amqp://u:p@localhost:5672/v
author Mads Kiilerich <mads@kiilerich.com>
date Thu, 07 Jan 2021 03:47:21 +0100
parents afa5e0bdb76f
children
line wrap: on
line source

[pytest]
# only look for tests in kallithea/tests
python_files = kallithea/tests/**/test_*.py
addopts =
    # --verbose
    # show extra test summary info as specified by chars (f)ailed, (E)error, (s)skipped, (x)failed, (X)passed, (w)warnings.
    -rfEsxXw
    # Shorter scrollbacks; less stuff to scroll through
    --tb=short
    #
    --doctest-modules
    --doctest-ignore-import-errors