view pytest.ini @ 8032:287b5f1cb40a

py3: only use safe_str for string conversion - not for arbitrary __str__ invocation Usually, we actually just want unicode string, and it is better to just unicode().
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 16 Dec 2019 00:02:34 +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