view pytest.ini @ 8374:4a4e4a498518 stable

tests: fix test_auth_ldap dependency on test order to avoid failure on uniqueness constraint It would perhaps be even better to have each test clean up ... but let's only aim for only avoiding collision on leaked test data.
author Mads Kiilerich <mads@kiilerich.com>
date Thu, 30 Apr 2020 13:46:56 +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