view pytest.ini @ 8166:a280c27b3c21

py3: fix recaptcha Request parameter type urllib.parse.urlencode will (after making '%' encoding of unicode characters) return a str instead of the obviously correct 7-bit ascii bytes. When we need bytes, we thus have to encode to bytes.
author Mads Kiilerich <mads@kiilerich.com>
date Tue, 04 Feb 2020 03:27:17 +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