view pytest.ini @ 8544:cf0620647130

lib: drop own asbool implementation and consistently use tg.support.converters as utils2.asbool str2bool never reported error on odd input such as '' or '-1', but the tg asbool behaviour of raising ValueError("String is not true/false: %r" % obj) in that case seems fine.
author Mads Kiilerich <mads@kiilerich.com>
date Fri, 24 Apr 2020 15:17:54 +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