view tox.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 dd676fdeda0f
children ab30729c735c
line wrap: on
line source

[tox]
minversion = 1.8
envlist = py{26,27}-pytest

[testenv]
setenv =
    PYTHONHASHSEED = 0
deps =
    -r{toxinidir}/dev_requirements.txt
    py26-pytest: unittest2
    python-ldap
    python-pam
commands =
    pytest: py.test {posargs}