view tox.ini @ 5169:d7f13c2a28ba

UserModel: remove code duplication of User.get_by_username() UserModel.get_by_username() and User.get_by_username() implement the same logic and thus one should use the other instead of duplicating.
author Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
date Mon, 01 Jun 2015 17:40:31 +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}