view pytest.ini @ 8308:96b43734025f

scripts: use plain import of contributor_data Relative import failed with: Traceback (most recent call last): File "scripts/update-copyrights.py", line 45, in <module> from . import contributor_data ImportError: attempted relative import with no known parent package Fixed by backing out changeset 2786730e56e0. The pytype problem can be solved differently.
author Mads Kiilerich <mads@kiilerich.com>
date Sat, 28 Mar 2020 22:41:12 +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