view pytest.ini @ 8331:d5c7930e3d5a

db: consistently use base_path from config instead of repeatedly getting from the database Avoid using the inefficient Repository.base_path ... and avoid even more the misleading Repository.repo_path .
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 30 Mar 2020 16:44:10 +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