view tox.ini @ 6227:555c8d26988f

db: always add to session in Setting.create_or_update There's no use case for not adding the newly created Setting to the SQLAlchemy session (and thus, once we commit, the database). With this change, all the various "create" model methods add their result to the session.
author Søren Løvborg <sorenl@unity3d.com>
date Tue, 13 Sep 2016 18:40:49 +0200
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}