Mercurial > kallithea
view tox.ini @ 6000:023d9202481e
setup: use modern bcrypt implementation instead of unsupported old one
py-bcrypt has been deprecated by bcrypt, and is no longer developed
or supported.
bcrypt requires bytestrings instead of strings, use safe_str to ensure
they're encoded before they're passed to bcrypt. Also, use check_pw
to minimise the number of manual conversions and comparisons.
Installation of bcrypt will probably compile a C extension and require
libffi-dev.
author | Andrew Shadura <andrew@shadura.me> |
---|---|
date | Sun, 03 Jul 2016 12:21:00 +0200 |
parents | b2195895bbd7 |
children | dd676fdeda0f |
line wrap: on
line source
[tox] minversion = 1.8 envlist = py{26,27}-pytest [testenv] setenv = PYTHONHASHSEED = 0 deps = pytest: pytest python-ldap python-pam commands = pytest: py.test {posargs}