view pytest.ini @ 8610:7a1371d659c5

docs: clarify how to activate virtualenv from mod_wsgi with py3 activate_this.py is not available with the venv module in py3. According to https://modwsgi.readthedocs.io/en/develop/user-guides/virtual-environments.html we just need to set python-home - that is the way to do proper virtualenv activation, and there is no need for hacks in the wrapper script.
author Mads Kiilerich <mads@kiilerich.com>
date Thu, 13 Aug 2020 15:47:24 +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