view pytest.ini @ 7144:bfb1ae42bcbb

vcs: fix get_changesets filtering on hg repo to AND the criteria instead of OR Mercurial scmutil.revrange takes a list of filters ... and OR them. But when for example a user uses the api and sets branch name and date, he would expect to only get revisions from the provided branch. So we need to use AND when filtering. When using AND, the special handling of start_date and end_date is no longer necessary. Also add a test to check for this use case.
author domruf <dominikruf@gmail.com>
date Sat, 20 Jan 2018 02:24:38 +0100
parents d88077fae3d6
children afa5e0bdb76f
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