view tox.ini @ 5323:81d8affd08f4

auth: remove username from AuthUser session cookie There's no reason to store the username when we store the user ID. We have load the user from database anyway under all circumstances, to verify e.g. that the user is (still) active. This does not impact application code, but does impact a number of test cases which explicitly checks the username stored in the session.
author Søren Løvborg <kwi@kwi.dk>
date Sun, 26 Jul 2015 13:58:50 +0200
parents 8c1258f69892
children 768989c595aa
line wrap: on
line source

[tox]
envlist = py{26,27}-{pytest,nose}

[testenv]
setenv =
    PYTHONHASHSEED = 0
deps =
    nose: nose
    pytest: pytest
commands =
    nose: nosetests {posargs}
    pytest: py.test {posargs}