view pytest.ini @ 8191:eb6ffd819900

py3: fix kallithea-cli ini parsing after ConfigParser got strict=True ConfigParser in py3 defaults to strict=True and would thus reject our ssh logging hack of renaming config sections ... which cause duplicate section names. Fortunately, fileConfig now also allows passing a ConfigParser, and we can avoid using io.StringIO .
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 25 Dec 2019 01:57:05 +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