Files @ a280c27b3c21
Branch filter:

Location: kallithea/tox.ini

Mads Kiilerich
py3: fix recaptcha Request parameter type

urllib.parse.urlencode will (after making '%' encoding of unicode characters)
return a str instead of the obviously correct 7-bit ascii bytes.

When we need bytes, we thus have to encode to bytes.
[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}