view pytest.ini @ 7978:7433775cc53b

page: minimal change to move from webhelpers.paginate to paginate webhelpers is dead and doesn't work with py3. paginate is not very actively maintained, but it is the natural successor to webhelpers.paginate, it seems stable, and it works with py3. This is a minimal change that seems to work. It preserves existing tech debt ... and adds a little bit more. It will be cleaned up next. webhelpers.paginate had built-in SqlAlchemy support - now we have to handle it explicitly.
author Mads Kiilerich <mads@kiilerich.com>
date Thu, 07 Nov 2019 03:12:41 +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