view pytest.ini @ 8681:f66a13a8ab99

routing: move config.routing to kallithea.controllers Routing doesn't belong in config. Having it there caused unfortunate dependencies. We do routing the old way. If we did it the new way, it would be defined in the root controller. But for now, we just place it next to the root controller.
author Mads Kiilerich <mads@kiilerich.com>
date Sat, 10 Oct 2020 21:33:42 +0200
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