view pytest.ini @ 7973:ad8328c8ed40

vcs: fix get_changesets to .reverse() list of revision hashes in place instead of using reversed() This is slightly more performant, and will also make CollectionGenerator work with reverse=True. Before, CollectionGenerator was used on get_changesets, but never with reverse option. Trying to use reverse, it would fail when applying len(): TypeError: object of type 'listreverseiterator' has no len()
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 20 Nov 2019 23:49:40 +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