view pytest.ini @ 7944:d6a56c5a77fc

caching: invalidate Repository cache of README and RSS based on latest revision hash in its .changeset_cache Avoid using the the more heavy and complex CacheInvalidation. Note that raw_id only is passed to the getter function as cache key, in order to make sure new data is retrieved whenever the repo changes.
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 21 Oct 2019 00:17:28 +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