view tox.ini @ 8768:fd61f678577f

diff: improved handling of Git diffs with " quoting Kallithea would intentionally and explicitly fail with an ugly exception when trying to parse Git diffs with quoted filenames. Improve this by parsing quotes ... and ignore them, as long as they are matching. The content inside the quotes might be \-escaped ... but that could potentially also be the case without quoting. We will fix that later. Adding some test cases that before would have failed to parse and raised an exception. Thanks to stypr of Flatt Security for raising this.
author Mads Kiilerich <mads@kiilerich.com>
date Sat, 14 Nov 2020 15:20:40 +0100
parents ab30729c735c
children
line wrap: on
line source

[tox]
minversion = 1.8
envlist = py27-pytest

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