view tox.ini @ 8303:2cb54d157d62

user: make get_by_username_or_email default to treat username case insensitive The get_by_username_or_email is a flexible function, intended to find users in multiple ways, suitable for login prompts. The function was sometimes used with case sensitive user lookup, sometimes without. Instead, be consistent and just default to be insensitive.
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 23 Mar 2020 14:32:06 +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}